[iOS] Crash when using HMR (and possibly ListView)
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- ios, typescript
- 领域
- mobile-dev, tooling
调研方向
首先阅读链接的 NativeScript issue,并使用 nx run app1:ios 重现该设置,该命令会运行 ns debug ios --force。重点关注 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 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 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 ·
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 84/100
bcgov/bc-wallet-mobile#4761 · 1 条评论 ·
-
external-issue to-triage
难度 2/5 1-3 小时 新手友好度 88/100
-
area-deployment area-integrations triage:bot-seen
难度 2/5 半天 新手友好度 86/100
-
难度 2/5 1-3 小时 新手友好度 82/100
-
refactor
难度 2/5 1-3 小时 新手友好度 84/100