SIGN IN SIGN UP

Switch to mount dispatcher after use() when needed (#26232)

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.
S
Sophie Alpert committed
a8f971b7a669a9a6321b9f3cea820f68b2e4ac6e
Parent: 96cdeaf
Committed by GitHub <noreply@github.com> on 2/24/2023, 8:06:27 PM