Example of using the Indexed API to persist changes to a simple form in React
Demo (using Dexie.js): https://brookslybrand.github.io/react-indexeddb-example/
Medium article: https://levelup.gitconnected.com/using-the-indexeddb-api-with-react-and-hooks-4e63d83a5d1b