ionic-team / ionic-team/ionic-storage

Storage access blocks the main ui

Open
#306 2 comments 3 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
456
Forks
97
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.