psperber / redux-persist-electron-storage

Redux persist adapter for electron-store
52 stars 5 forks source link

What are the use cased for `electron-store` and `redux-persist-electron-storage` ? #18

Open raphael10-collab opened 3 years ago

raphael10-collab commented 3 years ago

With redux-persist ( https://redux-toolkit.js.org/usage/usage-guide#use-with-redux-persist ) I managed to persist data within my Electron app without electron-store and without redux-persist-electron-storage .

So... I'm here to ask what are the use cases for electron-store and its redux-persist-adapter ( https://github.com/psperber/redux-persist-electron-storage )

awreese commented 2 years ago

@raphael10-collab I'm at the same point as well. RTK and redux-persist and it seems that localStorage is sufficient for persisting state and rehydrating the store. It's unclear if this package is necessary/relevant.

vladpuz commented 1 year ago

See Advantages over localStorage