Commit 9e80ede
committed
Hack to recover from reading the wrong Fiber (#33055)
`requestFormReset` incorrectly tries to get the current dispatch queue
from the Fiber. However, the Fiber might be the workInProgress which is
an inconsistent state.
This hack just tries the other Fiber if it detects one of the known
inconsistent states but there can be more.
Really we should stash the dispatch queue somewhere stateful which is
effectively what `setState` does by binding it to the closure.
DiffTrain build for [88b9767](88b9767)1 parent 6cb2d2c commit 9e80ede
File tree
34 files changed
+166
-118
lines changed- compiled/facebook-www
34 files changed
+166
-118
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1538 | 1538 | | |
1539 | 1539 | | |
1540 | 1540 | | |
1541 | | - | |
| 1541 | + | |
1542 | 1542 | | |
1543 | 1543 | | |
1544 | 1544 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1538 | 1538 | | |
1539 | 1539 | | |
1540 | 1540 | | |
1541 | | - | |
| 1541 | + | |
1542 | 1542 | | |
1543 | 1543 | | |
1544 | 1544 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
636 | 636 | | |
637 | 637 | | |
638 | 638 | | |
639 | | - | |
| 639 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
636 | 636 | | |
637 | 637 | | |
638 | 638 | | |
639 | | - | |
| 639 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
640 | 640 | | |
641 | 641 | | |
642 | 642 | | |
643 | | - | |
| 643 | + | |
644 | 644 | | |
645 | 645 | | |
646 | 646 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
640 | 640 | | |
641 | 641 | | |
642 | 642 | | |
643 | | - | |
| 643 | + | |
644 | 644 | | |
645 | 645 | | |
646 | 646 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18800 | 18800 | | |
18801 | 18801 | | |
18802 | 18802 | | |
18803 | | - | |
| 18803 | + | |
18804 | 18804 | | |
18805 | 18805 | | |
18806 | | - | |
| 18806 | + | |
18807 | 18807 | | |
18808 | 18808 | | |
18809 | 18809 | | |
| |||
18837 | 18837 | | |
18838 | 18838 | | |
18839 | 18839 | | |
18840 | | - | |
| 18840 | + | |
18841 | 18841 | | |
18842 | 18842 | | |
18843 | 18843 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18572 | 18572 | | |
18573 | 18573 | | |
18574 | 18574 | | |
18575 | | - | |
| 18575 | + | |
18576 | 18576 | | |
18577 | 18577 | | |
18578 | | - | |
| 18578 | + | |
18579 | 18579 | | |
18580 | 18580 | | |
18581 | 18581 | | |
| |||
18609 | 18609 | | |
18610 | 18610 | | |
18611 | 18611 | | |
18612 | | - | |
| 18612 | + | |
18613 | 18613 | | |
18614 | 18614 | | |
18615 | 18615 | | |
| |||
0 commit comments