Yes, you can!
I was using functional components when there is no state/context requirements in components. If required then use class components.
But with introduction of Hook, We can use functional components for both requirements.
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.
Yes, you can!
I was using functional components when there is no state/context requirements in components. If required then use class components.
But with introduction of Hook, We can use functional components for both requirements.