dillon1000/react

Commit

Batch together calls to setState, setProps, etc

The end of ReactUpdates-test.js is probably most illuminating for seeing how this works.
Browse files
Changed paths8 files
First-parent comparison
M src/core/ReactComponent.js ModifiedM src/core/ReactCompositeComponent.js ModifiedM src/core/ReactEventEmitter.js ModifiedM src/core/ReactMount.js ModifiedM src/core/ReactNativeComponent.js ModifiedA src/core/ReactUpdates.js AddedA src/core/__tests__/ReactUpdates-test.js AddedM src/core/__tests__/refs-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…