4 ms·
Svelte allows isomorphic rendering (client & server side). Svelte also has a feature called rehydrate, which will bind the component to html rendered on the ser
by briantakita 9y ago
Svelte allows isomorphic rendering (client & server side). Svelte also has a feature called rehydrate, which will bind the component to html rendered on the server side; sortof like serializing/unserializing.
This enables me to use Svelte for both client-side & server side rendering, replacing other template systems & having the best of both worlds (page caching, dynamic behavior on the client, a scalable front-end architecture, composition, etc).
https://svelte.technology/ https://svelte.technology/
Here's a quick post about my setup for static sites.
http://www.briantakita.com/posts/monorepo-static-sites-using-sveltejs-rollup-bash/ http://www.briantakita.com/posts/monorepo-static-sites-using...
Here's a post on converting from riotjs to svelte on a client project.
http://www.briantakita.com/posts/sveltejs-from-riotjs/ http://www.briantakita.com/posts/sveltejs-from-riotjs/
- graphememes 9y agoYou realize it's just html and css with some js to swap out elements right