elmish / hmr

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

Update to Fable.Core 3 #20

Closed alfonsogarciacaro closed 5 years ago

alfonsogarciacaro commented 5 years ago

This PR:

MangelMaxime commented 5 years ago

What will be the replacement of Fable.Import.HMR because it can be used in other project?

The #else .. #endif where defaulting to the Elmish.Program methods because they were marked as inlined. Note sure if this is better or not to have them.

Is it correct to just use id for syncDispatch field?

id is fine for Fable usage.

@et1975 Wasn't Fable.Elmish 3.0.0-beta-* stopped for now because you weren't happy with the reimplementation of the mailbox and with using a record to represent the program?

alfonsogarciacaro commented 5 years ago

Not sure if another project is using Fable.Import.HMR, but if that's the case, we'll need a maintainer that takes ownership of the packages and moves it to a different repo :)

et1975 commented 5 years ago

@MangelMaxime I'll update on the status of the beta in elmish repo.

alfonsogarciacaro commented 5 years ago

Would it be possible to have a beta release of this? Thanks! 😸

MangelMaxime commented 5 years ago

Yes, I will release it.

And we will update this repo when Elmish 3 API has been made stable.

MangelMaxime commented 5 years ago

I manually merge your branch into the branch vNext and I release it under 4.0.0-beta-3