Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
markerikson committed May 8, 2017
1 parent 2fbe957 commit 17d6618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react-state-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,6 @@
https://medium.com/@baphemot/understanding-reactjs-setstate-a4640451865b
Several helpful tips and concepts for understanding how component state and `setState` work, including how to initialize component state, ways to call `setState`, and common errors.

- **Stack Overflow: "Do I need to use `setState(function) overload?"**
- **Stack Overflow: "Do I need to use `setState(function)` overload?"**
http://stackoverflow.com/questions/43428456/do-i-need-to-use-setstatefunction-overload-in-this-case/43440790#43440790
Dan Abramov gives a great in-depth answer explaining when and why to pass an updater function to `setState` instead of passing an object

0 comments on commit 17d6618

Please sign in to comment.