My current process for deciding if an component needs to be stateful or stateless is to define it as a stateless component and then if the need for it to store data arrises, I then convert it into a stateful component. This way only the components that need state are given state.
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.
My current process for deciding if an component needs to be stateful or stateless is to define it as a stateless component and then if the need for it to store data arrises, I then convert it into a stateful component. This way only the components that need state are given state.