ionic-team / ionic-team/ionic-storage
Storage access blocks the main ui
- Lingua principale
- TypeScript
- Stelle
- 456
- Fork
- 97
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
In our app we use ionic-storage with `localforage-cordovasqlitedriver`, but it blocks the main UI and leads to slowness and some crashes as it is running in the main thread. Is there a way to have it run in the background and not in the main JS thread? (web worker, service worker, using another database)
Or maybe we missed something in the configuration but it does not look like it is possible to run the readd/write operations outside the main JS thread
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Start by reviewing the ionic-storage integration with localforage-cordovasqlitedriver and how read/write operations are configured. Determine whether background execution is supported or requires a different storage approach; done should mean a documented, technically scoped resolution for avoiding main-thread blocking.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- typescript
- Ambito
- databases, mobile-dev, performance
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100