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?
I'm struggling with crashes when using HMR and changing code in the
libssection 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:
If I do
nx run app1:iosit will runns 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?