You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a component suspends as a result of a context update, the component's render is called after suspension is finished but the result of the render is not reflected in the DOM (and effects aren't called).
The expected behavior
If a component suspends as a result of a context update, the component's render should be called and flushed to the DOM and effects called.
Related Issues:
#17356 - seems related to memoization but this does not use any memoization
The text was updated successfully, but these errors were encountered:
React version: 16.12.0
Steps To Reproduce
A component that suspends as a result of a context update is never rendered to DOM after suspension is finished.
Link to code example:
https://codesandbox.io/s/react-suspense-context-bug-rklls?file=/package.json:163-170
The current behavior
If a component suspends as a result of a context update, the component's render is called after suspension is finished but the result of the render is not reflected in the DOM (and effects aren't called).
The expected behavior
If a component suspends as a result of a context update, the component's render should be called and flushed to the DOM and effects called.
Related Issues:
#17356 - seems related to memoization but this does not use any memoization
The text was updated successfully, but these errors were encountered: