Open lorens-osman-dev opened 1 week ago
Hello! Can you provide me an example of how to use this update? If I understand you correctly, you want something like this:
const store = createStore('store', ({ state })=> {
const data = state({})
return { data }
})
store.set('data', {})
Is it correct?
I always wondered is there any way to write global solution for statesStores ?
this will be great DX