-
Notifications
You must be signed in to change notification settings - Fork 89
Add TodoMVC with indexedDB storage #523
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Add TodoMVC with indexedDB storage #523
Conversation
✅ Deploy Preview for webkit-speedometer-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Hi, could you rebase on the latest main branch? I'd be up for a round of reviews today. |
On it, if you have to choose, please prioritize reviewing this workload's design doc instead of the code. |
This reverts commit 8dff6f2.
24e93ee to
9dd77ac
Compare
|
@camillobruni can you take a look at this. Is this how the async runner is meant to be used? |
| throw new Error("Database connection is not established"); | ||
|
|
||
| // Add todo item to IndexedDB | ||
| const transaction = this.db.transaction(this.storeName, "readwrite"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want a new transaction for every store? Here the 100 items are added synchronously and it would make sense to reuse the same transactions, but what does real web pages do?
…he indexedDB version
|
Updated results showed a big improvement when calling |
Results for the hosted prototype as of 10/24/2025