Skip to content

add the revalidateFirstPage option #186

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

Merged
merged 2 commits into from
Dec 1, 2021

Conversation

koba04
Copy link
Collaborator

@koba04 koba04 commented Dec 1, 2021

This adds the revalidateFirstPage option in the document, which is added by vercel/swr#1538.

@vercel
Copy link

vercel bot commented Dec 1, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/vercel/swr-site/71Etsp7xJC97f7PbuZuUV5zGyg4j
✅ Preview: https://swr-site-git-fork-koba04-add-revalidate-first-page-option.vercel.sh

@shuding
Copy link
Member

shuding commented Dec 1, 2021

Oh thanks! I missed it in the docs & release notes. BTW would you mind adding it to other languages as well (still in English, so contributors can pick it up later).

@shuding
Copy link
Member

shuding commented Dec 1, 2021

I just added it to the release note: https://github.com/vercel/swr/releases/tag/1.1.0

@koba04
Copy link
Collaborator Author

koba04 commented Dec 1, 2021

@shuding Thank you! I think this option would make useSWRInfinite more useful.

Copy link
Member

@huozhi huozhi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@huozhi huozhi merged commit 556f781 into vercel:master Dec 1, 2021
@koba04
Copy link
Collaborator Author

koba04 commented Dec 3, 2021

Thank you!

@koba04 koba04 deleted the add-revalidate-first-page-option branch December 3, 2021 01:27
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.

3 participants