stereobooster / react-snap

👻 Zero-configuration framework-agnostic static prerendering for SPAs
MIT License
5.04k stars 391 forks source link

Improve preact and async components docs with a recipe #524

Open iMakedonsky opened 3 years ago

iMakedonsky commented 3 years ago

Currently preact docs section mentions code samples valid for preact 8, which is very outdated. New preact X(10.x) works differently and also here's a recipe for for preact + async components, e.g. getting rid of white flash during hydration: https://github.com/preactjs/preact/issues/3071