dillon1000/react

Commit

Use a closure to bind argument to callback in ReactErrorUtils (#8363)

* Use a closure to bind gaurded callback

This way the fake event isn't being implicitly passed into the event handler

* Add tests for ReactErrorUtils

Add fiber test report

Linting fixes
Browse files
Changed paths3 files
First-parent comparison
M scripts/fiber/tests-passing.txt ModifiedM src/renderers/shared/utils/ReactErrorUtils.js ModifiedA src/renderers/shared/utils/__tests__/ReactErrorUtils-test.js Added
Patch

Files changed

Rendering syntax-highlighted changes…