dillon1000/react
Commit
Browse files 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.
Changed paths2 files
First-parent comparisonsrc/renderers/shared/fiber/ReactFiberClassComponent.js ModifiedM src/renderers/shared/fiber/ReactFiberTreeReflection.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…