dillon1000/react

Commit

Fix isMounted inside of render

This is apparently used to determine if you can access refs.

Bad pattern, but a pattern nonetheless.
Browse files
Changed paths3 files
First-parent comparison
M src/core/ReactCompositeComponent.js ModifiedM src/core/__tests__/ReactComponent-test.js ModifiedM src/core/__tests__/ReactComponentLifeCycle-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…