I've been building apps with IndexedDB for years. The local part works fine — store data, query it, show it on screen. The hard part is keeping that data in sync with a server when the network comes and goes.
Source: [Dev.to](https://dev.to/ctrotech/offline-sync-in-the-browser-without-a-framework-pai)