React’s New Component Lifecycle

Not long ago Ankit Kumar wrote an excellent article about React’s component lifecycle. One of the things about technology is that IT changes, and changes quickly. React’s current stable version is 16.4.1, and with it came some significant changes planned and implemented for the lifecycle hooks.
I am somewhat new to React and have been building a project in which I decided to use the new lifecycle hooks. This article discusses the new changes, and my experience switching from the old lifecycle hooks to the new lifecycle hooks as well as a pitfall that I hope to help you avoid.

Link: https://dzone.com/articles/reacts-new-component-lifecycle?utm_medium=feed&utm_source=feedpress.me&utm_campaign=Feed%3A+dzone%2Fwebdev