The way I see it right now, when your component gets mounted it will log Example and it will also log it when updating the state. Your component gets mounted once and your state is updated once. Makes it log twice.
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.
The way I see it right now, when your component gets mounted it will log
Example
and it will also log it when updating the state. Your component gets mounted once and your state is updated once. Makes it log twice.