Browse Source

Add note about performance implications of .bind in render

main
Alex Krolick 7 years ago
parent
commit
3a029d59e8
  1. 2
      content/docs/faq-functions.md

2
content/docs/faq-functions.md

@ -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

Loading…
Cancel
Save