I feel like that makes state handling way easier. In new codebases I even have the rule to only add functional components and use hooks, instead of class-based components.
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.
Have you looked at React hooks? reactjs.org/docs/hooks-state.html
I feel like that makes state handling way easier. In new codebases I even have the rule to only add functional components and use hooks, instead of class-based components.