svelte-ssr-go

Svelte Ssr Go

Render svelte pages with embedded v8 in go

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

Loading Svelte Themes