You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I realise this might be late, but I just had this problem and decided to make my findings visible to anyone facing this issue later.
If you make sure not to copy your navKey to a different place in your model, this should work.
I had this in my top-level module:
type Model=ErrorString|LoadingUrlNav.Key|RunningUrlNav.KeyApp.Model
So when switching between Loading & Running states, I needed to copy the navKey from one place to another. For some reason this stops elm-hot from being able to apply changes.
To fix this, you can make sure the navKey is stored in one place and never changes:
In my example above, this is how this could be achieved:
type alias Model={ navKey :Nav.Key, url :Url, state :State}type State=ErrorString|Loading|RunningApp.Model
I don't understand what this error means:
would you mind helping me understand how to fix?
The text was updated successfully, but these errors were encountered: