What? Class components in 2020? Well, as you wish π Just to let you know: React documentation officially recommends writing any new code with functional components and hooks.
I agree with you and I am also using functional components and hooks in my projects but for a fresher or beginner it is important to know about basics and lifecycle methods, that is why I posted this. I will surely post something about functional components and hooks. Thank You!π
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.
What? Class components in 2020? Well, as you wish π Just to let you know: React documentation officially recommends writing any new code with functional components and hooks.
I agree with you and I am also using functional components and hooks in my projects but for a fresher or beginner it is important to know about basics and lifecycle methods, that is why I posted this. I will surely post something about functional components and hooks. Thank You!π