elmish / hmr

Hot Module Replacement for Elmish apps
https://elmish.github.io/hmr
Other
28 stars 9 forks source link

Fix parcel v2 support #28

Closed theor closed 2 years ago

theor commented 3 years ago

fix TypeError caused by parcel's hot modules not implementing webpack's status() function

MangelMaxime commented 3 years ago

Hum, I am afraid that if we don't find a way to call Navigation.Program.Internal.unsubscribe () there will be a problem with the Navigation module as the old listeners are still going to work.

Perhaps, it is mitigated by the fact that we Stop the current program and pass it in Inactive mode.

Could you please provide us a project with Elmish + HMR + Navigation and parcel setup so we can check the behaviour in this case?

MangelMaxime commented 2 years ago

Hello,

support for Parcel has been added in #30