dillon1000/react
Commit
Browse files 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
Changed paths3 files
First-parent comparisonscripts/fiber/tests-passing.txt ModifiedM src/renderers/shared/utils/ReactErrorUtils.js ModifiedA src/renderers/shared/utils/__tests__/ReactErrorUtils-test.js AddedPatch
Files changed
Rendering syntax-highlighted changes…