mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
a8f971b7a6
When resuming a suspended render, there may be more Hooks to be called that weren't seen the previous time through. Make sure to switch to the mount dispatcher when calling use() if the next Hook call should be treated as a mount. Fixes #25964.