Unverified Commit fb7342ac authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Add default revalidate value to docs (#25238)

This makes sure to mention the default revalidate value is `false` or to not revalidate since it previously only mentions it's optional. 

## Documentation / Examples

- [x] Make sure the linting passes
parent bd0448c3
...@@ -73,7 +73,7 @@ The `context` parameter is an object containing the following keys: ...@@ -73,7 +73,7 @@ The `context` parameter is an object containing the following keys:
`getStaticProps` should return an object with: `getStaticProps` should return an object with:
- `props` - An **optional** object with the props that will be received by the page component. It should be a [serializable object](https://en.wikipedia.org/wiki/Serialization) - `props` - An **optional** object with the props that will be received by the page component. It should be a [serializable object](https://en.wikipedia.org/wiki/Serialization)
- `revalidate` - An **optional** amount in seconds after which a page re-generation can occur. More on [Incremental Static Regeneration](#incremental-static-regeneration) - `revalidate` - An **optional** amount in seconds after which a page re-generation can occur (defaults to: `false` or no revalidating). More on [Incremental Static Regeneration](#incremental-static-regeneration)
- `notFound` - An **optional** boolean value to allow the page to return a 404 status and page. Below is an example of how it works: - `notFound` - An **optional** boolean value to allow the page to return a 404 status and page. Below is an example of how it works:
```js ```js
......
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