Idiomatic Data Flow
I'm comming from VueJS, where components can emit events. This is useful so that a child component can notify a parent component of a particular user interaction. There doesn't seem to be a similar mechanism build into SolidJS, do you pass callbacks in props instead?
1 Reply
do you pass callbacks in props instead?yes, exactly!