Counter with Async Loading
A simple counter that loads its initial value from IndexedDB using the new async load method
Count: 0
Async Load Demonstration:
- Render Phase - Component renders with loading state
- Load Phase - Counter value loaded from IndexedDB asynchronously
- Bind Phase - Event handlers bound with loaded data
- Persistence - Counter changes are saved back to IndexedDB
Try it: Increment/decrement the counter, then refresh the page. The counter will load its previous value from the database!