dillon1000/react

Commit

Implement isMounted for Fiber

This is the naive implementation that doesn't cover the case
where it has completed but not yet committed. It also doesn't
deal with unmounts since they currently don't clean up the item
in the ReactInstanceMap.
Browse files
Changed paths2 files
First-parent comparison
M src/renderers/shared/fiber/ReactFiberClassComponent.js ModifiedM src/renderers/shared/fiber/ReactFiberTreeReflection.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…