• New life-cycle methods The functions that will be deprecated are: • componentWillMount • componentWillUpdate • componentWillReceiveProps New method is: • static getDerivedStateFromProps • StrictMode API • AsyncMode • Update React DevTools • Update Context API ….. What’s new in React v16.3
• Typically, data in a React application is passed top- down (parent to child) via props. • So, we also need to pass the related entire site values each layer components motivation
• The value set in the context can be acquired from any child component. • New component types: Provider and Consumer. • Refer to the ancestor as the provider and the child as the consumer • Providers and consumers come in pairs New context API