#Using electron-store to persist data in a POS System that uses multiple shopping carts

2 messages · Page 1 of 1 (latest)

winged lodge
#

Hello, I am developing a POS App with Electron and React.js. The app uses multiple shopping carts. I can add, modify and delete shopping carts. However I would like to also store the current state of the shopping carts so that when the app is closed and opened again later, the app loads the shopping carts with the different products the user selected previously for that cart. Any recommended approach to do this?

potent ferry
#

There are a bunch of ways to do data persistence but even something like localStorage should work