mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-14 00:28:25 -05:00
@@ -268,7 +268,7 @@
|
||||
|
||||
- Bind event handlers for the render method in the constructor.
|
||||
|
||||
> Why? A bind call in a the render path creates a brand new function on every single render.
|
||||
> Why? A bind call in the render path creates a brand new function on every single render.
|
||||
|
||||
eslint rules: [`react/jsx-no-bind`](https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-no-bind.md).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user