Wow, this is a great idea, I've never seen anyone do it before. honestly I'm still a bit surprised that it works 😅 But wouldn't it be better to split your product's info into multiple tables? For example you could create a table that only has the product's name so you can run search queries on it and put a reference in it to other tables that have prices, brands, and other info... This could be easier to manage and also you're not gonna have to write all of the data to Indexeddb at once, you can just write the names that you need to display to the DB. and the rest of the info can be written to the DB in the background while the user browses through your app. If you have other opinions or better ways to do this please share with me your knowledge as I'm currently working on an app with almost the same requirements and it's my first time working with indexeddb 🙏, Thanks again for the great article 🙂.
Mahmoud Elwan
Not much, just trying to learn new things in my free time :).