You're right, side effects must always be separated from state management, this was a quick example, i'll try to clean it up when I have some free time.
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.
You're right, side effects must always be separated from state management, this was a quick example, i'll try to clean it up when I have some free time.