
A Svelte 3 server side render example, with hashed JS and CSS chunks
This article is about an example of server-side rendering in Svelte 3, using hashed JavaScript and CSS chunks. It utilizes Rollup and the rollup-plugin-css-chunks. The article provides installation and usage instructions, as well as information about passing props in the URL or via a POST request. It also mentions environment variables and licenses.
This article provides an example of server-side rendering in Svelte 3, demonstrating the use of hashed JavaScript and CSS chunks. The example uses Rollup and the rollup-plugin-css-chunks for the build process. It also includes instructions for installation and usage, as well as information about passing props in the URL or via a POST request. Overall, this example showcases how to improve performance and initial loading speed with server-side rendering in Svelte 3.

Svelte is a modern front-end framework that compiles your code at build time, resulting in smaller and faster applications. It uses a reactive approach to update the DOM, allowing for high performance and a smoother user experience.
ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.
RollupJS is a popular and efficient JavaScript module bundler that takes the code from multiple modules and packages them into a single optimized file, minimizing the overall size of the application and improving its performance.