Create signal from store element
I have a component that takes signal as a prop:
Elsewhere I have a store that contains an array of numbers:
My understanding is that SolidJS creates a signal for properties of stores. Is there a way to access that underlying signal so I can pass it to the input? I.e.
Elsewhere I have a store that contains an array of numbers:
const [store, setStore] = createStore([1,2,3]);My understanding is that SolidJS creates a signal for properties of stores. Is there a way to access that underlying signal so I can pass it to the input? I.e.
<NumberInput value={store[0]/>