68

React v16.3.0: New lifecycles and context API - React Blog

 6 years ago
source link: https://reactjs.org/blog/2018/03/29/react-v-16-3.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
A few days ago, we wrote a post about upcoming changes to our legacy lifecycle methods , including gradual migration strategies. In React 16.3.0, we are adding a few new lifecycle methods to assist with that migration. We are also introducing new APIs for long requested features: an official context API, a ref forwarding API, and an ergonomic ref API. Read on to learn more about the release. Official Context API For many years, React has offered an experimental API for context. Although it was…

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK