Every app requires storing some sort of data. Earlier I made a video about using Sqlite with Electron, in this video I am going to show you 4 other ways of storing data in Electron.
These methods are suitable for smaller pieces of data that can be stored in key value pairs.
The methods are
- Flat JSON file,
- sessionStorage
- localStorage
- IndexedDb
You can store data in IndexedDb on both the renderer and the main process.
Watch this video to see these storage methods in detail.
Code : https://github.com/cyrilgupta/storing-data-in-electronjs
Don't forget to Subscribe and hit the bell icon so that you'll get notified about my videos.
#electronjs #programming #coding