Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
markerikson authored Dec 16, 2017
1 parent 54f4ce5 commit 545c2aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions react-state-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
https://medium.freecodecamp.com/functional-setstate-is-the-future-of-react-374f30401b6b
Discusses passing a function to `setState` to perform updates, why that approach is useful, and how that pattern can be used to separate state update logic from component definition

- **Does React have a `setState` problem? / `setState() Gate: Navigating Behavior Confusion**
- **Does React have a `setState` problem? / `setState()` Gate: Navigating Behavior Confusion**
https://twitter.com/i/moments/842710066826530816
https://medium.com/javascript-scene/setstate-gate-abc10a9b2d82
Eric Elliott recently posted a tweet saying that `setState` is bad for learners, and advanced devs have learned to avoid it. That spawned a large Twitter thread arguing the idea. Elliott later posted an article explaining his concerns in detail. Some excellent reading and points to consider all around - the "Moments" link includes a few of the tweets, but the whole thread is worth reading.
Expand All @@ -133,4 +133,4 @@

- **`setState` ftw**
https://speakerdeck.com/michelebertoli/setstate-ftw
Slides from Facebook dev Michele Bertoli's talk on how `setState` works, how to use it properly, and useful techniques for working with `setState`.
Slides from Facebook dev Michele Bertoli's talk on how `setState` works, how to use it properly, and useful techniques for working with `setState`.

0 comments on commit 545c2aa

Please sign in to comment.