dillon1000/react

Commit

Reduce Lookup for Missing Lifecycle Methods

This is a micro-optimization that reduces the lookup time for missing lifecycle methods. The extra amount of memory is linear to the number of components that exist on a page which I think is a worthwile trade-off.
Browse files
Changed paths1 file
First-parent comparison
M src/core/ReactCompositeComponent.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…