-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSR runtime #2
Comments
state.jsonEvery route has a generated Similar to #1, there will be head.jsonSimilarly, there exists a partial.html + hydrate.jsEvery route has a generated |
I'm hesitant about the partial.html + hydrate.js idea, as it's probably too much work for just a little performance boost, though I haven't actually put that theory to the test. |
The SSR runtime is fully implemented in the Documentation will be added before v0.5 is officially released. |
Allow
saus build
to emit a SSR module that renders on-demand routes.The configuration above tells Saus where to emit its TypeScript runtime, which can be used in your Node server code.
Unfortunately, Vite SSR is not in a good position to provide an SSR runtime without extra baggage, like a websocket server and file watcher. But it shouldn't be terribly difficult to implement this when the time comes.
The text was updated successfully, but these errors were encountered: