React-16: What’s New in Life of a Component?
As we all know React is all about its components and as developers we are constantly trying to make them reusable and extremely small to make our code efficient and superfluous. Our components should be standalone and smart enough to manage the state and props updates independently.
The two new life-cycle methods introduced with React 16.2 does exactly that and provides power to our…