40

React v16.6.0: lazy, memo and contextType – React Blog

 5 years ago
source link: https://reactjs.org/blog/2018/10/23/react-v-16-6.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.
Today we’re releasing React 16.6 with a few new convenient features. A form of PureComponent/shouldComponentUpdate for function components, a way to do code splitting using Suspense and an easier way to consume Context from class components. Check out the full changelog below. Class components can bail out from rendering when their input props are the same using or . Now you can do the same with function components by wrapping them in . : Code-Splitting with You may have seen Dan’s talk…

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK