react-async-ssr icon indicating copy to clipboard operation
react-async-ssr copied to clipboard

Update dependencies to support React 17

Open IIIristraM opened this issue 4 years ago • 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.

IIIristraM avatar Feb 05 '21 10:02 IIIristraM

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.

overlookmotel avatar Mar 17 '21 02:03 overlookmotel