dillon1000/react

Commit

Ignore lifecycle events outside batches

Technically this shouldn't happen but it seems possible with ReactNativeMount.unmountComponentAtNode().
For now, let's just ignore these lifecycle events because ReactPerf makes a hard assumption that all lifecycle hooks happen inside batches.
We can revisit later when we have a comprehensive test suite for ReactPerf itself.
Browse files
Changed paths1 file
First-parent comparison
M src/isomorphic/ReactDebugTool.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…