Relative Content

Tag Archive for javascriptindexeddb

IndexedDB: Opening a new DB but Promise gets stuck

Currently, I’m designing IndexedDB functionality for my company. I have built a solid class and all of my unit tests work. However, when I’m attempting to open a new database for a client, the state of my Reducer never updates so the site hangs. I believe it is because the initDatabase method is looking for a resolution to the Promise. Here’s the Reducer I’ve built: