You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I thought about this too, but what if you don't prefix your handlers with on in React? We should avoid too much magic. You just use it like you defined it.
Right now we call event handlers like this:
that's not very nice because usually there shouldn't be an
on
in the first param ofaddEventListener
.https://developer.mozilla.org/de/docs/Web/API/EventTarget/addEventListener
The text was updated successfully, but these errors were encountered: