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
This won't work as there is currently no way to get parent events from the child component dynamically.
To achieve this, i would need to have props that have a clickHandler and keydownHandler to pass to the child component.
The more events you have, the more it is painful.
This also blocks composing components heavily. As even if you can get the events, there is no way to spread them into your child component.
Though, i we are able to get the events, i can get around this point by using the use directive and appending the events myself.
It would be nice to have something like $$props but for events, something like $$events
The text was updated successfully, but these errors were encountered:
Currently not possible to move forward with this lib, due to this :
ATM, it is not possible to dynamically get parent events.
Having this :
This won't work as there is currently no way to get parent events from the child component dynamically.
To achieve this, i would need to have
props
that have aclickHandler
andkeydownHandler
to pass to the child component.The more events you have, the more it is painful.
This also blocks composing components heavily. As even if you can get the events, there is no way to spread them into your child component.
Though, i we are able to get the events, i can get around this point by using the
use
directive and appending the events myself.It would be nice to have something like
$$props
but for events, something like$$events
The text was updated successfully, but these errors were encountered: