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

Docs: Update revalidate example #59002

Merged
merged 2 commits into from
Nov 28, 2023
Merged

Docs: Update revalidate example #59002

merged 2 commits into from
Nov 28, 2023

Conversation

delbaoliveira
Copy link
Contributor

Closing: https://github.com/vercel/feedback/issues/47084

  • The example previously showed export const revalidate being called from a utils file, whereas we want to call it from a route segment (layout or page)

- The segment config option should be called from the layout or page, not the utils file
@delbaoliveira delbaoliveira requested review from a team as code owners November 28, 2023 11:10
@delbaoliveira delbaoliveira requested review from ismaelrumzan and molebox and removed request for a team November 28, 2023 11:10
@delbaoliveira delbaoliveira changed the title Next Docs: Update revalidate example Docs: Update revalidate example Nov 28, 2023
@leerob leerob merged commit c5acef6 into canary Nov 28, 2023
58 of 59 checks passed
@leerob leerob deleted the next-docs-1hdg branch November 28, 2023 17:20
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants