Oh, right. No, it doesn't return a useful value (undefined). However, it does automagically update the value of the state variable and cause your component to rerender with that new value.
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.
Oh, right. No, it doesn't return a useful value (
undefined
). However, it does automagically update the value of the state variable and cause your component to rerender with that new value.