5 Replies
is there a way to create something like a memo that returns age or name depending on which was most recently updated?
I‘d say you‘ll need an additional signal which you set in any input change.
Note that in Solid you may use the
onInput
event.Or use a store instead e.g.
https://playground.solidjs.com/anonymous/a97b807d-e53f-43e1-ba09-402354bec36d
Solid Playground
Quickly discover what the solid compiler will generate from your JSX template
Solid Primitives
A library of high-quality primitives that extend SolidJS reactivity
very cool!