Skip to content

docs(route-handlers): fix missing revalidate export for JS code block#70857

Merged
leerob merged 2 commits intovercel:canaryfrom
Juneezee:docs/route-handlers
Oct 11, 2024
Merged

docs(route-handlers): fix missing revalidate export for JS code block#70857
leerob merged 2 commits intovercel:canaryfrom
Juneezee:docs/route-handlers

Conversation

@Juneezee
Copy link
Contributor

@Juneezee Juneezee commented Oct 6, 2024

The JavaScript code block in the "Revalidating Cached Data" section of "Route Handlers" page is missing a revalidate export.

Page: https://nextjs.org/docs/app/building-your-application/routing/route-handlers#revalidating-cached-data

TypeScript code block:

image

JavaScript code block:

image

The JavaScript code block in the "Revalidating Cached Data" section of
"Route Handlers" page [1] is missing a `revalidate` export.

[1]: https://nextjs.org/docs/app/building-your-application/routing/route-handlers#revalidating-cached-data

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
@ijjk ijjk added the Documentation Related to Next.js' official documentation. label Oct 6, 2024
@ijjk
Copy link
Member

ijjk commented Oct 6, 2024

Allow CI Workflow Run

  • approve CI run for commit: 4979fa5

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

1 similar comment
@ijjk
Copy link
Member

ijjk commented Oct 6, 2024

Allow CI Workflow Run

  • approve CI run for commit: 4979fa5

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

@leerob leerob merged commit 91c2714 into vercel:canary Oct 11, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Documentation Related to Next.js' official documentation. locked

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants