dillon1000/react

Commit

Utilize the backtracking during events to figure out if a Fiber was unmounted

We're walking backwards up to the root to find the parent so that we can
propagate events further up to nested React parents. If we don't find a
root, that means that the tree was unmounted and we shouldn't send any
events to it.
Browse files
Changed paths3 files
First-parent comparison
M scripts/fiber/tests-failing.txt ModifiedM scripts/fiber/tests-passing.txt ModifiedM src/renderers/dom/shared/ReactEventListener.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…