Another week has passed and it’s time for another This Week In React ⚛️.
Enable getDerivedStateFromError, Create React App 2.0, A Jest Helper for Concurrent Tests, and a lot more.
Subscribe at this-week-in-react.org or read the thread ➡️
💥 getDerivedStateFromError is a new lifecycle method that is invoked after an error has been thrown by a descendant component. With that, you directly update a component’s state based on the error. Learn more in the open docs PR.
Weekly coverage of interesting pull requests, discussion, and RFCs around React Core and React DOM. Every Friday.
The first issue is out today! Right here (thread) ➡️
🚀 The biggest shoutout this week goes to Alexander Nanberg (@alexnanberg) for working tirelessly on moving reactjs.org to @gatsbyjs v2 - Great to see it online 🙌 github.com/reactjs/reactj…