@solidjs/start @solidjs/meta not being SSR'd when resources used, bug or my misuse?
See: https://codesandbox.io/p/devbox/clever-leaf-r4xrg6?file=%2Fsrc%2Froutes%2Fabout.tsx
The <title> works fine on the About page, but if you view the HTML document the server provides, it is missing the <title> - it is only added by the client. Everything else renders fine!
Cheers!
3 Replies
Actually it appears to render the title in SSR for the first page load after the server starts, but not subsequent requests, so I'm guessing bug... next question, how can I work around this? 😅
Not a bug; intended behaviour as responses stream by default.
You want
{ deferStream: true }
in the ResourceOptions
.legend!! thank you @peerreynders <3