Read more about islands architecture on Jason's Blog about Islands Architecture
My Tweet about Vite SSR and Islands
yarn
node server.js # or yarn dev
yarn build # builds server and client code
NODE_ENV=production node server.js # or yarn serve
Built while following Vite SSR docs