Add note about performance implications of .bind in render

This commit is contained in:
Alex Krolick
2017-11-12 20:04:55 -08:00
parent 3dbc6355e9
commit 3a029d59e8

View File

@@ -62,6 +62,8 @@ class Foo extends Component {
}
```
**Note**: Using an arrow function or binding in render creates a new function each time the component renders, which may have performance implications (see below).
#### Arrow Function in Render
```jsx