viczaca

Results 3 comments of viczaca

I guess this is not documented [here](https://easy-peasy.vercel.app/docs/tutorials/primary-api.html#creating-a-store). There is a second parameter in createStore where you can set the name. ```javascript const store = createStore(model, { name: "THE_NAME_YOU_WANT", }) ```

@ctrlplusb I thought this was already a feature. This is my code. I'm using [localforage](https://github.com/localForage/localForage) as my persistent storage. ```typescript const store = createStore(persist(model, { storage: localforage }), { name:...

I have a similar code in my codebase and it works. The only difference is that I define some types. Maybe this works for you. ```typescript type Task = {...