Skip to content

Comment on Show HN: TimeRetain – A browser-based personal time tracker, no sign-up neededparent

Comments

The IndexedDB API [1] is fairly easy to work with. I personally use idb [2] as a wrapper, but that's optional. The hardest part is getting it neatly integrated with whatever you're using to manage state. I use a centralized Redux-like store to push events to, which then get automatically persisted to Indexed DB. Hope this helps!

[1] https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_A...

[2] https://github.com/jakearchibald/idb

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.