Skip to content

Render onClicks for SSR? #346

@davesmith00000

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions