Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[iOS] Crash when using HMR (and possibly ListView) #61

Open
fpaaske opened this issue Nov 28, 2022 · 0 comments
Open

[iOS] Crash when using HMR (and possibly ListView) #61

fpaaske opened this issue Nov 28, 2022 · 0 comments

Comments

@fpaaske
Copy link

fpaaske commented Nov 28, 2022

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 NativeScript/NativeScript#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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant