Commit 040f828
authored
Follow through all the phases when an error happens during snapshotting (#32803)
This can happen for example if you have duplicate names in the "old"
state. This errors the transition before the updateCallback is invoked
so we haven't yet applied mutations etc.
This runs through those phases after the error to get us back to a
consistent state.1 parent 450f8df commit 040f828
File tree
1 file changed
+13
-1
lines changed- packages/react-dom-bindings/src/client
1 file changed
+13
-1
lines changedLines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1802 | 1802 | | |
1803 | 1803 | | |
1804 | 1804 | | |
| 1805 | + | |
| 1806 | + | |
| 1807 | + | |
| 1808 | + | |
| 1809 | + | |
| 1810 | + | |
1805 | 1811 | | |
1806 | 1812 | | |
1807 | 1813 | | |
| |||
2137 | 2143 | | |
2138 | 2144 | | |
2139 | 2145 | | |
2140 | | - | |
| 2146 | + | |
| 2147 | + | |
| 2148 | + | |
| 2149 | + | |
| 2150 | + | |
| 2151 | + | |
| 2152 | + | |
2141 | 2153 | | |
2142 | 2154 | | |
2143 | 2155 | | |
| |||
0 commit comments