Replies: 1 comment 1 reply
-
It is not a matter of a component using JavaScript (or not) whether it fully works in SSR mode. It is all about a component doing any form of event handling on the Blazor side that determines if interactivity is needed. If that is the case, then the component (or the page hosting the component or the whole app) needs a rendermode. The rendermode is not restricted to WebAssembly in any way. Can just as well be Server or Auto. For example, a |
Beta Was this translation helpful? Give feedback.
-
So by trial and error, I have experienced that components like
FluentSelect
work in a Server Side Rendered scenario, because in order to work it uses Javascript.On the other hand,
FluentCalendar
has zero interactivity in an SSR scenario and seems to be needed to be loaded within a WASM environment (and specifically needs to be set to@rendermode="InteractiveWebAssembly"
) in order to select a date and be interactive in general.Am I just using it wrong or are there indeed differences in implementation regarding the use of JS or WASM?
Beta Was this translation helpful? Give feedback.
All reactions