stereobooster / react-snap

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

Is there a way to use react-snap with react's concurrent mode? #366

Closed ilanbm closed 5 years ago

ilanbm commented 5 years ago

When I'm trying to use react-snap with the new concurrent mode, using createRoot(rootElement, { hydrate: true }).render, the hydration doesn't work...

How do I use react-snap with concurrent mode?

stereobooster commented 5 years ago

React concurrent mode is experimental feature, so there is no guarantee it will work see https://github.com/stereobooster/react-async-issue.