Skip to content

Commit fc7b02a

Browse files
authored
Merge pull request #876 from manovotny/patch-1
[Docs] Adds missing rule name for `jsx-no-bind` documentation.
2 parents b464cf1 + ac548a0 commit fc7b02a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/rules/jsx-no-bind.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# No `.bind()` or Arrow Functions in JSX Props
1+
# No `.bind()` or Arrow Functions in JSX Props (jsx-no-bind)
22

33
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.
44

0 commit comments

Comments
 (0)