Unverified Commit 7cd9ffc5 authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Add note about rewrites query updating (#30747)

This adds a note for the query being updated for rewrites on static pages. 

Closes: https://github.com/vercel/next.js/issues/30720

## Documentation / Examples

- [x] Make sure the linting passes by running `yarn lint`
parent 147b0f9e
...@@ -148,6 +148,8 @@ module.exports = { ...@@ -148,6 +148,8 @@ module.exports = {
} }
``` ```
Note: for static pages from the [Automatic Static Optimization](/docs/advanced-features/automatic-static-optimization.md) or [prerendering](/docs/basic-features/data-fetching.md#getstaticprops-static-generation) params from rewrites will be parsed on the client after hydration and provided in the query.
## Path Matching ## Path Matching
Path matches are allowed, for example `/blog/:slug` will match `/blog/hello-world` (no nested paths): Path matches are allowed, for example `/blog/:slug` will match `/blog/hello-world` (no nested paths):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment