use-persisted-state

A custom React Hook that provides a multi-instance, multi-tab/browser shared and persistent state.

electron-store

Simple data persistence for your Electron app or module - Save and load user settings, app state, cache, etc