Closed pkese closed 1 year ago
Eh it was
use propsSubscription = ...
instead of
let propsSubscription = ...
so subscription got disposed at the end of code block.
I didn't even know we had use
in F# - seems to work same as using (...) { ... }
in C#.
I'm glad you fixed it, and thanks for logging the issue
In above code,
PropsChanged
message will always get delivered with initial value of props.Events get fired, but value of props is always the same.
Normal
IStore<Props> |> Store.map
rendering code appears to work fine (below): Html text is changing correctly.Just elmish (above) never sees any change.