DEV Community

Shekhar Sahu
Shekhar Sahu

Posted on

Component lifecycle with useEffect


When I heard about hooks in React JS, I read about it and tried to write new components with hooks as functional components. – it worked perfectly! But I never tried to re-write existing class based components code by using hooks. As a developer, changing the existing working code is a scary thing.

Top comments (0)