New changes to the React Lifecycle events

I’m finding the fact that getDerivedStateFromProps is static to be very bothersome to me.

Blah! Looks like we’ll need a 3rd edition of Learning React :stuck_out_tongue:

1 Like

I know! Bad timing!

So, how much of chapter 11 (second edition) is not applicable as of today?

A fair amount at this point, but the updated content can be seen here:

I’m aiming to get the next edition of the book updated at some point this year to coincide with the next big React update. Outside of the lifecycle topic and the addition of React Hooks in the latest React point update, the content in the book is still up-to-date.


Awesome. Thanks for the information!