3 ms·
Seems like Runes (Svelte 5). Does this support SSR for custom component ?
by revskill 3y ago
Seems like Runes (Svelte 5).
Does this support SSR for custom component ?
- kreetx 3y agoNot the author, but on a quick read, everything here is straight-up web standards so there is nothing to server-side render.
- kennyfrc 3y agoYes, Cami uses fine-grained reactivity, so it’s a cousin of similar solutions like Solid signals, Svelte runes, Knockout / and MobX observables. It doesn’t support SSR as it aims to be backend-agnostic (i.e. you can use python/ruby/haskell, and you can copy+paste the Cami module with no build step and you can start using it). If you want SSR for the SEO benefits, I think it’s better to render the text-heavy parts as normal HTML for indexing with Google, and then mount the interactive parts with Cami / web components (i.e. “islands architecture”: https://www.patterns.dev/posts/islands-architecture https://www.patterns.dev/posts/islands-architecture)