Skip to content

React 16.10 broke Next.js/SSR applications #16938

Closed
@Timer

Description

@Timer

Do you want to request a feature or report a bug?
Bug

What is the current behavior?

React 16.10.0 has broken all Next.js applications (and potentially other SSR solutions).

It appears you cannot hydrate in conjunction with a client-side <Suspense> component.

Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.

image

CodeSandbox: https://codesandbox.io/s/i66g1

What is the expected behavior?

Not entirely sure -- I'm opening this issue to discuss. The provided example worked in React 16.9.0 (and prior releases containing Suspense).

Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?

[email protected]/[email protected] is broken.
[email protected]/[email protected] works.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions