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
Thanks for the suggestion :-). it is what I would probably do as well in practice in this specific case, but if the event handlers are slightly bigger, then extracting a separate function is the more maintainable approach I think, and hence the best practice.
the example could be simplified:
https://codesandbox.io/s/0yyomw1l4p
but maybe it's just my personal preference. Feel free to just ignore and close this.
The text was updated successfully, but these errors were encountered: