GoogleChromeLabs / houdini.how

A community-driven gathering place for CSS Houdini worklets and resources.
https://houdini.how
Apache License 2.0
152 stars 39 forks source link

Prerendering #70

Closed developit closed 3 years ago

developit commented 3 years ago

This updates WMR to 0.0.11 and turns on wmr build --prerender. Prerendering renders the site to static HTML at build time, starting with the homepage, then crawling and pre-rendering any linked pages until there are none left.

It also turns on progressive hydration and seamless route transitions, which shipped in Preact 10.5.

I've committed the "internals" of the prerendering module inline here (prerender.js) because we've not yet settled on where that module will be published.

una commented 3 years ago

Much smoother transitions! And thank you for the other updates as well