New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Behavior of skipRepeats unintuitive #352
Comments
That doesn't sound like what I'd expect to happen, but I'm not using skipRepeats at all myself. So could you illustrate the issue with minimal breaking code? What do you write, what do you expect to happen, what happens instead? |
say i subscribe to the store
If my It seems that the current behavior is that if the type is |
Aha, now I understand -- there's two This is related to #259 and not yet fixed. |
A solution as per #259 could be to return an |
Any solutions to this? |
I've been thinking about this and maybe I'm missing something, but the second Do you have a case where the app's state doesn't change and a selection of parts of the substate could yield a different result? |
If i explicitly define a
skipRepeats
function on my subscription selection I feel that it should take precedence over my type's==
implementation. More than a few times I've been burned by not realizing theSubscription
is forgoingskipRepeats
because its selection isEquatable
.The text was updated successfully, but these errors were encountered: