Commit 2fb3402
committed
Refactor throwException control flow
I'm about to add more branches to the Suspense-related logic in
`throwException`, so before I do, I split some of the steps into
separate functions so that later I can use them in multiple places.
This commit does not change any program behavior, only the control flow
surrounding existing code.1 parent 1c58cfa commit 2fb3402
File tree
2 files changed
+556
-448
lines changed- packages/react-reconciler/src
2 files changed
+556
-448
lines changed
0 commit comments