dillon1000/react
Commit
Browse files Reconciler: Combine identical cases in findParent (#32210)
## Summary When lookup `Parent`, `HostRoot` and `HostPortal` should be merged, because when creating a `Portal`, it will also include `containerInfo`(So we can directly use this `containerInfo` to delete the real DOM nodes.), so there is no need to handle them separately. ## How did you test this change? No behavior changes, all existing tests pass.
Changed paths1 file
First-parent comparisonpackages/react-reconciler/src/ReactFiberCommitWork.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…