dillon1000/react

Commit

Update ES6 class documentation with binding perf

Adding a note in the ES6 class documentation about function binding.  Recommending that you bind your handlers in the constructor so that they are referentially the same function every time render is invoked (helps with child components that might potentially call shouldComponentUpdate)
Browse files
Changed paths1 file
First-parent comparison
M docs/docs/05-reusable-components.md Modified
Patch

Files changed

Rendering syntax-highlighted changes…