dillon1000/react
Commit
Browse files [DOM] Apply Fragment listeners to children inserted into portals later (#37166)
Commit-time fragment ancestry stopped at HostPortal via isHostParent, so a child added after listeners were registered never received them even though existing portal siblings did. Collect fragment parents past portals and other non-HostComponent host parents so commit bookkeeping matches HostComponent/HostRoot fragment ancestry.
Changed paths2 files
First-parent comparisonpackages/react-dom/src/__tests__/ReactDOMFragmentRefs-test.js ModifiedM packages/react-reconciler/src/ReactFiberCommitHostEffects.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…