Repository navigation
Commit 99c106c
authored
Revert sync abort replay restoration pending a complete fix (#37852)
Revert #37710 and #37850 while we revisit how synchronous prerender
aborts preserve replay state.
Restoring the aborted task root as a replay point can overlap postpones
from child tasks. #37850 suppresses one form of the overlap, but an
indexed parent slot can still coexist with a descendant replay node and
fail during resumption. This removes the incomplete change so we can
address the replay invariants together.
This deliberately restores the behavior reported in #37709: if a
prerender abort interrupts a task after it has rendered part of its
shell, the later resume can omit that markup. That regression needs a
follow-up fix.
This supersedes #37851.
Tests: `yarn test ReactDOMFizzStaticBrowser --runInBand` and `yarn test
ReactDOMFizzStaticBrowser --prod --runInBand` (34 passed in each mode).1 parent e25b4a4 commit 99c106c
2 files changed
Lines changed: 4 additions & 131 deletions
File tree
- packages
- react-dom/src/__tests__
- react-server/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
864 | 864 | | |
865 | 865 | | |
866 | 866 | | |
867 | | - | |
868 | | - | |
869 | | - | |
870 | | - | |
871 | | - | |
872 | | - | |
873 | | - | |
874 | | - | |
875 | | - | |
876 | | - | |
877 | | - | |
878 | | - | |
879 | | - | |
880 | | - | |
881 | | - | |
882 | | - | |
883 | | - | |
884 | | - | |
885 | | - | |
886 | | - | |
887 | | - | |
888 | | - | |
889 | | - | |
890 | | - | |
891 | | - | |
892 | | - | |
893 | | - | |
894 | | - | |
895 | | - | |
896 | | - | |
897 | | - | |
898 | | - | |
899 | | - | |
900 | | - | |
901 | | - | |
902 | | - | |
903 | | - | |
904 | | - | |
905 | | - | |
906 | | - | |
907 | | - | |
908 | | - | |
909 | | - | |
910 | | - | |
911 | | - | |
912 | | - | |
913 | | - | |
914 | | - | |
915 | | - | |
916 | | - | |
917 | | - | |
918 | | - | |
919 | | - | |
920 | | - | |
921 | | - | |
922 | | - | |
923 | | - | |
924 | | - | |
925 | | - | |
926 | | - | |
927 | | - | |
928 | | - | |
929 | | - | |
930 | | - | |
931 | | - | |
932 | | - | |
933 | | - | |
934 | | - | |
935 | | - | |
936 | | - | |
937 | | - | |
938 | | - | |
939 | | - | |
940 | | - | |
941 | | - | |
942 | | - | |
943 | | - | |
944 | | - | |
945 | | - | |
946 | | - | |
947 | | - | |
948 | | - | |
949 | | - | |
950 | | - | |
951 | | - | |
952 | | - | |
953 | | - | |
954 | | - | |
955 | | - | |
956 | | - | |
957 | | - | |
958 | | - | |
959 | | - | |
960 | | - | |
961 | | - | |
962 | | - | |
963 | | - | |
964 | | - | |
965 | | - | |
966 | | - | |
967 | | - | |
968 | | - | |
969 | | - | |
970 | | - | |
971 | | - | |
972 | | - | |
973 | | - | |
974 | | - | |
975 | | - | |
976 | | - | |
977 | | - | |
978 | | - | |
979 | | - | |
980 | | - | |
981 | | - | |
982 | | - | |
983 | | - | |
984 | | - | |
985 | | - | |
986 | | - | |
987 | | - | |
988 | | - | |
989 | | - | |
990 | | - | |
991 | 867 | | |
992 | 868 | | |
993 | 869 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4196 | 4196 | | |
4197 | 4197 | | |
4198 | 4198 | | |
4199 | | - | |
4200 | | - | |
4201 | | - | |
| 4199 | + | |
| 4200 | + | |
| 4201 | + | |
| 4202 | + | |
4202 | 4203 | | |
4203 | 4204 | | |
4204 | 4205 | | |
| |||
5367 | 5368 | | |
5368 | 5369 | | |
5369 | 5370 | | |
5370 | | - | |
5371 | | - | |
5372 | 5371 | | |
5373 | 5372 | | |
5374 | 5373 | | |
| |||
5415 | 5414 | | |
5416 | 5415 | | |
5417 | 5416 | | |
5418 | | - | |
5419 | | - | |
5420 | 5417 | | |
5421 | 5418 | | |
5422 | 5419 | | |
| |||
0 commit comments