top | item 37519569

(no title)

siduck | 2 years ago

are there any plans for making the state management exportable? in react state's bound to the component, but in solid-js we can define it outside the component and export it, and components from other files can easily use it :D

like

export const [counter, setCounter] = createSignal(0)

you can probably look at js proxies

discuss

order

No comments yet.