This isn't strictly necessary yet, but will be as soon as we have interactive custom elements on the page.
I did a pretty manual thing here and serialized the data as JSON at the end of the response, then added another entrypoint that calls hydrate() with the data and page template.
This isn't strictly necessary yet, but will be as soon as we have interactive custom elements on the page.
I did a pretty manual thing here and serialized the data as JSON at the end of the response, then added another entrypoint that calls
hydrate()
with the data and page template.cc @kevinpschaaf @augustjk for SSR patterns