Skip to content
This repository was archived by the owner on Nov 20, 2025. It is now read-only.
This repository was archived by the owner on Nov 20, 2025. It is now read-only.

Render onClicks for SSR? #346

Description

@davesmith00000

onClick's (and Event types) are not rendered as they're intercepted by the Tyrian runtime.

However there may be circumstances - I'm thinking of SSR - when you would want them to show up. Maybe we need to be able to see a flag somewhere say "include events in the render". What exactly we'll render there, I'm not sure. I mean, you can't render the Scala code for onClick(Msg.DoSomething).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions