dillon1000/react

Commit

Batch updates caused by handlers in multiple roots

Fixes #1227.

It seems rare that event handlers in two roots nested in the DOM will update the same component in the same tick, but if that happens, the updates should be batched together.
Browse files
Changed paths3 files
First-parent comparison
M src/browser/ui/ReactEventTopLevelCallback.js ModifiedM src/browser/ui/__tests__/ReactEventTopLevelCallback-test.js ModifiedM src/core/ReactEventEmitterMixin.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…