Skip to content
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

fix: disable dedupe when trigger/mutate (#271) #279

Merged
merged 4 commits into from
Feb 24, 2020
Merged

Conversation

rtxu
Copy link
Contributor

@rtxu rtxu commented Feb 22, 2020

fix #271

@rtxu
Copy link
Contributor Author

rtxu commented Feb 23, 2020

Here is a test demo

Edit swr_user_experience

@mxschmitt
Copy link
Contributor

mxschmitt commented Feb 23, 2020

@rtxu I've duplicated two working tests for trigger and mutate and added there a dedupingInterval to show that the fix is working: rtxu#1

@shuding
Copy link
Member

shuding commented Feb 24, 2020

Thank you @rtxu and @mxschmitt !

@Tom-Goji
Copy link

This change is exactly what we were looking for thanks 👍

@shuding It looks like it should have made it into either the 0.5.0 or 0.5.1 tags but I can't see it in either. Has this been held back from release? https://github.com/vercel/swr/commits/0.5.1

@shuding
Copy link
Member

shuding commented Mar 13, 2021

@Tom-Goji I don’t think this was held back, are you seeing the same bug with the latest release? If so feel free to open a new issue with reproduction, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Question]: is it as designed that trigger and mutate will follow dedupingInterval
4 participants