dillon1000/react
Commit
Browse files 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)
Changed paths1 file
First-parent comparisondocs/docs/05-reusable-components.md ModifiedPatch
Files changed
Rendering syntax-highlighted changes…