Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

(question) rationale behind IndexedDB being the 1st driver in driversOrder ?

オープン
#272 コメント 0 件 リアクション 4 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
ドキュメント
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
typescript

調査の方向性

ionic-storage の driversOrder の動作と、参照されている localforage のコードを確認し、IndexedDB と localStorage の順序に重点を置きます。アプリのバックアップ後および再インストール後のストレージの永続性に関する疑問を確認し、SQLite が必要かどうかも含めて、根拠とプラットフォーム固有のガイダンスを文書化します。

索引モデルが issue の本文から書いたものです。

説明

Hello

We're migrating an ios/android ionic app from an older version and noticed localStorage is now the 2nd preferred driver of storage, the 1st being IDB.

Looking thru ionic-storage code and localforage code, as far as I understand, IDB was unsafe for older iOS versions (12.x, especially given WebKit bugs). So the code switches between IDB and localStorage.

We do not target older iOS versions, do not target IE, do not target android < 9.

  • can I safely use localStorage or should I really use IDB ?
  • if the user backups and reinstalls its app, are IDB or localStorage persisted between reinstalls or should I use SQLite ?

thx

主要言語
TypeScript
スター
456
フォーク
97
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ionic-team/ionic-storage のほかの issue

ionic-team/ionic-storage の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。