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

Add useRevalidateOnInterval to fetch the results and update the page - closes #25 #65

Merged
merged 1 commit into from
Mar 5, 2022

Conversation

willianjusten
Copy link
Owner

This one uses an excellent idea from this post to get new scores in an interval.

I defined 20s for now, but we can tweak this after.

@willianjusten willianjusten self-assigned this Mar 5, 2022
@vercel
Copy link

vercel bot commented Mar 5, 2022

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/willianjusten/nba-remix/B22ni6XXkC9pbD3WqunKL8jWUn17
✅ Preview: https://nba-remix-git-revalidate-score-interval-willianjusten.vercel.app

@willianjusten willianjusten merged commit 7ac8278 into main Mar 5, 2022
@willianjusten willianjusten deleted the revalidate-score-interval branch March 5, 2022 02:02
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.

None yet

1 participant