overlookmotel/react-async-ssr

Update dependencies to support React 17

IIIristraM opened this issue · 1 comments

It seems like library works without problems with React 17, even better, cause in 17 some bugs around Suspense have been fixed.

So It would be nice to include 17 to dependencies.

Hi @IIIristraM. Thanks for bringing this up.

I've not tested it, but I'm unaware of changes in React 17 which revert the problems introduced in React 16.10.0.

The problems relate especially to hydrating when some of the components throw a Promise with [NO_SSR] property on the server side (see docs here).

Would you be able to test this particular case with React 17? If it now works with React 17, I'll be happy to update the dependency range and make React 17 supported.