mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
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.