dillon1000/react

Commit

Make sure top-level callback has correct context

Closes #5125 -- incorporates essentially the same fix with a much simpler test case. Thanks @yiminghe for reporting!
Browse files
Changed paths2 files
First-parent comparison
M src/renderers/dom/client/ReactMount.js ModifiedM src/renderers/dom/client/__tests__/ReactMount-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…