IMO, it's totally unnecessary the handleClick if it is just to trigger the onClick, but if you have some logic to to before trigger the onClick, it make sense to stay there.
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.
If you are talking about cases like this:
IMO, it's totally unnecessary the
handleClick
if it is just to trigger theonClick
, but if you have some logic to to before trigger theonClick
, it make sense to stay there.