Commit 25fc6fa
committed
Track debugInfo on module state instead of stack
Notably with DON'T use try/finally because if something throws we want
to observe what it was at the time we threw.
Now we can use this when we create the Throw Fiber to associate the
Server Components that were part of the parent stack before this error
threw.1 parent 270229f commit 25fc6fa
File tree
2 files changed
+126
-124
lines changed- packages
- react-client/src/__tests__
- react-reconciler/src
2 files changed
+126
-124
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1050 | 1050 | | |
1051 | 1051 | | |
1052 | 1052 | | |
1053 | | - | |
1054 | | - | |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
1055 | 1057 | | |
1056 | 1058 | | |
1057 | 1059 | | |
| |||
0 commit comments