Prevent SubscriptionRef change with same value update
Is there a way how to not trigger SubscriptionRef change when updating with a value that equals the previous value?
I was looking into updateSomeEffect but that does not work since the next value is known in the effect and update some expect the update function to return
Option<Effect>
Option<Effect>
not
Effect<Option>
Effect<Option>
Another option would be to just filter the
changes
changes
stream so it does not emit the same value twice (can be implemented with Hash to save some memory)