dillon1000/react

Commit

Use .bind when autobinding

This eliminates all of the `boundMethod` frames from call stacks when debugging and as far as I know should behave the same otherwise.

Test Plan: jest
Browse files
Changed paths2 files
First-parent comparison
M src/core/ReactCompositeComponent.js ModifiedM src/core/__tests__/ReactCompositeComponentError-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…