Should we accept arrays of event handlers? #855
Archmonger
started this conversation in
Ideas
Replies: 1 comment
-
I think the best thing would be to provide a utility for merging event handlers. One already exists, but perhaps we could improve the interface. Previously I think IDOM had an For context, React does not have a way to pass arrays of event handlers. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Right now, events can only be single functions. However, in javascript it's possible to bind multiple event listeners to one event.
This discussion is to talk about whether this can/should be implemented in IDOM core during the v2 release cycle.
Beta Was this translation helpful? Give feedback.
All reactions