S
SolidJS4w ago
Lȩge

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
bigmistqke
bigmistqke4w ago
do you pass callbacks in props instead?
yes, exactly!

Did you find this page helpful?