You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently prototyped a possible SSR implementation in rules_prerender (see the ref/ssr tag), and it worked out a lot better than I expected. We're able to easily intermix SSG and SSR on the same page and seamlessly pass data between the two contexts in a type safe manner. We can even render components concurrently and stream the result. Components can compose each other, even without knowing how a dependency divides work between SSG, SSR, and CSR.
I went into some of the details on Twitter, but I'd love to hear what the community thinks. Would this be useful? Are there improvements that could be made?
My biggest question is about how helpful it is to interleave SSG and SSR on the same page, is the performance impact noticeable? Is there a significant developer maintenance cost to the SSG / SSR distinction? Is it better than just SSR-ing the whole page?
Feel free to share your thoughts and ideas below, really interested to know if this is an idea worth pursuing.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I recently prototyped a possible SSR implementation in
rules_prerender
(see theref/ssr
tag), and it worked out a lot better than I expected. We're able to easily intermix SSG and SSR on the same page and seamlessly pass data between the two contexts in a type safe manner. We can even render components concurrently and stream the result. Components can compose each other, even without knowing how a dependency divides work between SSG, SSR, and CSR.I went into some of the details on Twitter, but I'd love to hear what the community thinks. Would this be useful? Are there improvements that could be made?
My biggest question is about how helpful it is to interleave SSG and SSR on the same page, is the performance impact noticeable? Is there a significant developer maintenance cost to the SSG / SSR distinction? Is it better than just SSR-ing the whole page?
Feel free to share your thoughts and ideas below, really interested to know if this is an idea worth pursuing.
Beta Was this translation helpful? Give feedback.
All reactions