Link:https://blog.joshsoftware.com/2020/03/26/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)