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

What is the purpose of trigger in the Optimistic UI example? #10

Open
aej11a opened this issue Mar 10, 2021 · 0 comments
Open

What is the purpose of trigger in the Optimistic UI example? #10

aej11a opened this issue Mar 10, 2021 · 0 comments

Comments

@aej11a
Copy link

aej11a commented Mar 10, 2021

In this file, https://github.com/praveenweb/swr-graphql/blob/master/pages/optimistic-ui.js

What is the purpose of trigger(mutation)?

The official Optimistic UI example doesn't use that https://github.com/vercel/swr/blob/master/examples/optimistic-ui/pages/index.js

Thanks

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

No branches or pull requests

1 participant