Skip to content

Commit

Permalink
Merge pull request #66 from tbrunel/patch-1
Browse files Browse the repository at this point in the history
Update README.md / fix typo
  • Loading branch information
stevemao committed Jul 9, 2018
2 parents 0e7023b + 9c6aaf1 commit 2cbf1e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class Component { }

However,

> It is unnecessary to do that to every function. This is just as bad as autobinding (on a class). You only need to bind functions that you pass around. e.g. `onClick={this.doSomething}`. Or `fetch.then(this.hanldeDone)`
> It is unnecessary to do that to every function. This is just as bad as autobinding (on a class). You only need to bind functions that you pass around. e.g. `onClick={this.doSomething}`. Or `fetch.then(this.handleDone)`
-- Dan Abramov‏

You should avoid using `autobind` on a class. :thumbsdown:
Expand Down

0 comments on commit 2cbf1e0

Please sign in to comment.