Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the bug by restoring currentlyRenderingFiber even if the reducer …
…throws I introduced this in facebook#14653 (223960e). But I relied on restart to clean it up in case of error, and didn't notice the try/catch. This makes sure the failing case also restores the current variable which renderWitHooks() currently relies on.
- Loading branch information