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).
onClick's (and
Eventtypes) 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).