Open
Description
Hi! Stumbled upon this repo while trying to implement the exact same thing and I'm quite impressed with your implementation. It is quite elegant.
I'm wondering, do you happen to have any thoughts about how this could be achieved outside of a next.js context? Using useServerInsertedHTML
seems to be critical to inject things into the stream, as well as cleanup afterwards to avoid hydration mismatches, but implementing this function from scratch in a non next.js app is non-trivial. Have you happened to go down this route at all?
Thanks!
Metadata
Assignees
Labels
No labels