From 3a029d59e8a2fe45ad90e97d4fe2e7a33cd043d5 Mon Sep 17 00:00:00 2001 From: Alex Krolick Date: Sun, 12 Nov 2017 20:04:55 -0800 Subject: [PATCH] Add note about performance implications of .bind in render --- content/docs/faq-functions.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/docs/faq-functions.md b/content/docs/faq-functions.md index 0dcbe3c3..816f5bcc 100644 --- a/content/docs/faq-functions.md +++ b/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