Skip to content

Commit

Permalink
Merge pull request #876 from manovotny/patch-1
Browse files Browse the repository at this point in the history
[Docs] Adds missing rule name for `jsx-no-bind` documentation.
  • Loading branch information
ljharb authored Oct 2, 2016
2 parents b464cf1 + ac548a0 commit fc7b02a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/jsx-no-bind.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# No `.bind()` or Arrow Functions in JSX Props
# No `.bind()` or Arrow Functions in JSX Props (jsx-no-bind)

A `bind` call or [arrow function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions) in a JSX prop will create a brand new function on every single render. This is bad for performance, as it will result in the garbage collector being invoked way more than is necessary.

Expand Down

0 comments on commit fc7b02a

Please sign in to comment.