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
There is a way to directly enhance the useEventListener to support CustomEvents. I don't like so much the boilerplate code improving the global definition to bypass TypeScript. Seems this custom hooks missed support for CustomEvents?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
There is a way to directly enhance the
useEventListener
to supportCustomEvents
. I don't like so much the boilerplate code improving the global definition to bypass TypeScript. Seems this custom hooks missed support forCustomEvents
?Beta Was this translation helpful? Give feedback.
All reactions