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 know a functional component is stateless and instanceless reason why it can't emit an event. But in situations where the component is used to programatically evaluate which sub component to render it would make sense to be able to listen to those subcomponents events.
Eg a Field component which return a diferent root component depending on the type would not allow doing something like this.
<fieldtype="Boolean"
@change="changed"></field>
The text was updated successfully, but these errors were encountered:
I know a functional component is stateless and instanceless reason why it can't emit an event. But in situations where the component is used to programatically evaluate which sub component to render it would make sense to be able to listen to those subcomponents events.
Eg a Field component which return a diferent root component depending on the type would not allow doing something like this.
The text was updated successfully, but these errors were encountered: