Svelte SSR Go

Using the http server from go and combining it with the ssr template engine from svelte.

An experiment to see if it was possible (poc for a c# implementation) And a challenge to see if v8go could beat node in a benchmark.

Setup

yarn install
yarn build # compiles svelte into js for go
yarn dev # starts go in watch mode

Implemented

  • Rendering a SSR component from Go
  • Hydrating page on the client

Todo

  • Nested layout + resets
  • sveltekit routing
  • sveltekit load
  • polyfill browser api's
  • polyfill common node modules
  • polyfill sveltekit api's

Top categories

svelte logo

Need a Svelte website built?

Hire a professional Svelte developer today.
Loading Svelte Themes