I wish React had a lifecycle method called getDerivedStateFromProps that was called on component construction and componentWillReceiveProps.
-
-
The functional component API will likely do this
-
And then people will mistakenly override their unrelated initial state fields any time a prop changes.
- 4 more replies
New conversation -
-
-
Um. Does this mean I get the token?

-
I think he gives all of us a token.
- 1 more reply
New conversation -
-
-
Time to pay up :)
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I guess someone has a Babel or Yarn bug they need fixed
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
he/him 