Skip to content

Commit 88abaa4

Browse files
committed
Address review comments from @ljharb.
1 parent 375ca7c commit 88abaa4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/rules/jsx-no-bind.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ Unfortunately [React ES6 classes](https://facebook.github.io/react/blog/2015/01/
121121

122122
```jsx
123123
class Foo extends React.Component {
124-
constructor(props) {
125-
super(props);
124+
constructor(...args) {
125+
super(...args);
126126
this._onClick = this._onClick.bind(this);
127127
}
128128
render() {

0 commit comments

Comments
 (0)