[iOS] Crash when using HMR (and possibly ListView)
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- ios, typescript
- 領域
- mobile-dev, tooling
調査の方向性
まず、リンクされた NativeScript の issue を読み、ns debug ios --force を実行する nx run app1:ios でセットアップを再現します。libs セクション配下の変更、特に HMR 更新後に contactlist から contactdetails へ移動する処理に注目してください。共有ライブラリのコードを変更して contactdetails へ移動しても iOS アプリがクラッシュしなくなれば完了です。
索引モデルが issue の本文から書いたものです。
説明
I'm struggling with crashes when using HMR and changing code in the libs section of the NX workspace.
I have more details about the issue here https://github.com/NativeScript/NativeScript/issues/10107.
I'm wondering if this has something to do with the combination of NativeScript+NX (using this repo), or something else.
Basically I have this setup:
apps
app1 -> home -> contactmodule
app2 -> contactmodule
libs
shared
contactmodule -> contactlist -> contactdetails
If I do nx run app1:ios it will run ns debug ios --force. It seems to me as if I change the code under libs after it has been displayed (navigated to, perhaps via a list), the app will crash on the next navigation to contactdetails.
Initially I thought this had something to do with ListView, but I'm leaning more towards bad HMR update of code from libs.
Do you guys have any idea?
- 主要言語
- TypeScript
- スター
- 68
- フォーク
- 15
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
NativeScript/nx のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
NativeScript/nx#88 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 30/100
NativeScript/nx#84 · コメント 3 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
NativeScript/nx#80 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
NativeScript/nx#78 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
NativeScript/nx#76 ·
NativeScript/nx の issue をすべて見る
似ている issue
-
VerificationGate: ATTRIBUTION quote guard never matches a normal quotation (\b around the quote) オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
danielmiessler/LifeOS#2234 ·
-
T: Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
-
Mend: dependency security vulnerability untriaged
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100