Yeah, I have also used functional components so far in my projects but I thought it would be easier for the beginners to understand the lifecycle methods better if I implement them using class components on my demonstrations rather than using functional components.
I have heard that the class components will get deprecated because of the hooks, but I have also heard that you cannot access all the lifecycle methods using hooks. Why is it getting removed then? Any thoughts?
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Yeah, I have also used functional components so far in my projects but I thought it would be easier for the beginners to understand the lifecycle methods better if I implement them using class components on my demonstrations rather than using functional components.
I have heard that the class components will get deprecated because of the hooks, but I have also heard that you cannot access all the lifecycle methods using hooks. Why is it getting removed then? Any thoughts?