dillon1000/react
Commit
Browse files Fix portal unmounting (#8422)
We used to terminate the search on host nodes, and then use the nested unmount algorithm. However this means we didn't unmount portals inside the host nodes. We will probably need to restructure this somehow but for now I just added a recursive call to unblock myself.
Changed paths3 files
First-parent comparisonscripts/fiber/tests-passing.txt ModifiedM src/renderers/dom/fiber/__tests__/ReactDOMFiber-test.js ModifiedM src/renderers/shared/fiber/ReactFiberCommitWork.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…