@@ -463,7 +463,6 @@ function iterativelyCommitBeforeMutationEffects_begin() { |
463 | 463 | (fiber.subtreeFlags & BeforeMutationMask) !== NoFlags && |
464 | 464 | child !== null |
465 | 465 | ) { |
466 | | - child.return = fiber; |
467 | 466 | nextEffect = child; |
468 | 467 | } else { |
469 | 468 | iterativelyCommitBeforeMutationEffects_complete(); |
@@ -497,7 +496,6 @@ function iterativelyCommitBeforeMutationEffects_complete() { |
497 | 496 |
|
498 | 497 | const sibling = fiber.sibling; |
499 | 498 | if (sibling !== null) { |
500 | | - sibling.return = fiber.return; |
501 | 499 | nextEffect = sibling; |
502 | 500 | return; |
503 | 501 | } |
@@ -715,7 +713,6 @@ function iterativelyCommitMutationEffects_begin( |
715 | 713 |
|
716 | 714 | const child = fiber.child; |
717 | 715 | if ((fiber.subtreeFlags & MutationMask) !== NoFlags && child !== null) { |
718 | | - child.return = fiber; |
719 | 716 | nextEffect = child; |
720 | 717 | } else { |
721 | 718 | iterativelyCommitMutationEffects_complete(root, renderPriorityLevel); |
@@ -754,7 +751,6 @@ function iterativelyCommitMutationEffects_complete( |
754 | 751 |
|
755 | 752 | const sibling = fiber.sibling; |
756 | 753 | if (sibling !== null) { |
757 | | - sibling.return = fiber.return; |
758 | 754 | nextEffect = sibling; |
759 | 755 | return; |
760 | 756 | } |
@@ -1176,14 +1172,12 @@ function iterativelyCommitLayoutEffects_begin( |
1176 | 1172 | } |
1177 | 1173 | const sibling = finishedWork.sibling; |
1178 | 1174 | if (sibling !== null) { |
1179 | | - sibling.return = finishedWork.return; |
1180 | 1175 | nextEffect = sibling; |
1181 | 1176 | } else { |
1182 | 1177 | nextEffect = finishedWork.return; |
1183 | 1178 | iterativelyCommitLayoutEffects_complete(subtreeRoot, finishedRoot); |
1184 | 1179 | } |
1185 | 1180 | } else { |
1186 | | - firstChild.return = finishedWork; |
1187 | 1181 | nextEffect = firstChild; |
1188 | 1182 | } |
1189 | 1183 | } else { |
@@ -1230,7 +1224,6 @@ function iterativelyCommitLayoutEffects_complete( |
1230 | 1224 |
|
1231 | 1225 | const sibling = fiber.sibling; |
1232 | 1226 | if (sibling !== null) { |
1233 | | - sibling.return = fiber.return; |
1234 | 1227 | nextEffect = sibling; |
1235 | 1228 | return; |
1236 | 1229 | } |
@@ -1764,14 +1757,12 @@ function iterativelyCommitPassiveMountEffects_begin( |
1764 | 1757 | } |
1765 | 1758 | const sibling = fiber.sibling; |
1766 | 1759 | if (sibling !== null) { |
1767 | | - sibling.return = fiber.return; |
1768 | 1760 | nextEffect = sibling; |
1769 | 1761 | } else { |
1770 | 1762 | nextEffect = fiber.return; |
1771 | 1763 | iterativelyCommitPassiveMountEffects_complete(subtreeRoot, root); |
1772 | 1764 | } |
1773 | 1765 | } else { |
1774 | | - firstChild.return = fiber; |
1775 | 1766 | nextEffect = firstChild; |
1776 | 1767 | } |
1777 | 1768 | } else { |
@@ -1817,7 +1808,6 @@ function iterativelyCommitPassiveMountEffects_complete( |
1817 | 1808 |
|
1818 | 1809 | const sibling = fiber.sibling; |
1819 | 1810 | if (sibling !== null) { |
1820 | | - sibling.return = fiber.return; |
1821 | 1811 | nextEffect = sibling; |
1822 | 1812 | return; |
1823 | 1813 | } |
@@ -1896,7 +1886,6 @@ function iterativelyCommitPassiveUnmountEffects_begin() { |
1896 | 1886 | } |
1897 | 1887 |
|
1898 | 1888 | if ((fiber.subtreeFlags & PassiveMask) !== NoFlags && child !== null) { |
1899 | | - child.return = fiber; |
1900 | 1889 | nextEffect = child; |
1901 | 1890 | } else { |
1902 | 1891 | iterativelyCommitPassiveUnmountEffects_complete(); |
@@ -1915,7 +1904,6 @@ function iterativelyCommitPassiveUnmountEffects_complete() { |
1915 | 1904 |
|
1916 | 1905 | const sibling = fiber.sibling; |
1917 | 1906 | if (sibling !== null) { |
1918 | | - sibling.return = fiber.return; |
1919 | 1907 | nextEffect = sibling; |
1920 | 1908 | return; |
1921 | 1909 | } |
@@ -1953,7 +1941,6 @@ function iterativelyCommitPassiveUnmountEffectsInsideOfDeletedTree_begin( |
1953 | 1941 | const fiber = nextEffect; |
1954 | 1942 | const child = fiber.child; |
1955 | 1943 | if ((fiber.subtreeFlags & PassiveStatic) !== NoFlags && child !== null) { |
1956 | | - child.return = fiber; |
1957 | 1944 | nextEffect = child; |
1958 | 1945 | } else { |
1959 | 1946 | iterativelyCommitPassiveUnmountEffectsInsideOfDeletedTree_complete( |
@@ -1981,7 +1968,6 @@ function iterativelyCommitPassiveUnmountEffectsInsideOfDeletedTree_complete( |
1981 | 1968 |
|
1982 | 1969 | const sibling = fiber.sibling; |
1983 | 1970 | if (sibling !== null) { |
1984 | | - sibling.return = fiber.return; |
1985 | 1971 | nextEffect = sibling; |
1986 | 1972 | return; |
1987 | 1973 | } |
|