Skip to content

Commit

Permalink
update faq on perf with function props (#1994)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkrolick authored May 14, 2019
1 parent b91049c commit c870331
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/docs/faq-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class Foo extends Component {

>**Note:**
>
>Using an arrow function in render creates a new function each time the component renders, which may have performance implications (see below).
>Using an arrow function in render creates a new function each time the component renders, which may break optimizations based on strict identity comparison.
### Is it OK to use arrow functions in render methods? {#is-it-ok-to-use-arrow-functions-in-render-methods}

Expand Down

0 comments on commit c870331

Please sign in to comment.