Nhowka / Elmish.Bridge

Create client-server Fable-Elmish apps keeping a single mindset
MIT License
139 stars 17 forks source link

Client's bridge removes the program's other subscriptions #51

Closed lukaszkrzywizna closed 1 year ago

lukaszkrzywizna commented 1 year ago

According to Elmish release notes

https://github.com/elmish/elmish/blob/v4.x/RELEASE_NOTES.md

Breaking: withSubscription replaces existing subscription, use mapSubscription to add/accumulate the subscribers

when Elmish.Bridge is registered, any previously added subscription will be removed. I suggest migrating clients to mapSubscription and aggregating all previous subs.

Nhowka commented 1 year ago

Thanks! Sorry about the delay, I was replacing my computer. I will upload an updated version as soon as possible!