Hacker News new | ask | show | jobs
by siduck 1004 days 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