Skip to content

Commit

Permalink
react: add docs for excludeServerSideRenderingFor option (#1494)
Browse files Browse the repository at this point in the history
* react: add docs for excludeServerSideRenderingFor option

* Update docs/framework-integration/react.md

Co-authored-by: Tanner Reits <[email protected]>

---------

Co-authored-by: Tanner Reits <[email protected]>
  • Loading branch information
christian-bromann and tanner-reits authored Nov 7, 2024
1 parent 6b285c4 commit cc15322
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions docs/framework-integration/react.md
Original file line number Diff line number Diff line change
Expand Up @@ -502,9 +502,16 @@ export const config: Config = {
};
```

:::note
Next.js support is only available for applications that use the [Next.js App Router](https://nextjs.org/docs/app).
:::
### excludeServerSideRenderingFor

**Optional**

**Type: `string[]`**

Allows users to exclude a list of components from server side rendering by Next.js or other React
frameworks. This may be useful if you would like to generally ignore some components from being
rendered on the server or if you like roll out SSR support for your design system one component at
a time.

## FAQ's

Expand Down

0 comments on commit cc15322

Please sign in to comment.