Skip to content

Commit

Permalink
fix: typo in SSR documentation (#956)
Browse files Browse the repository at this point in the history
  • Loading branch information
hasancruk committed Dec 27, 2023
1 parent d72c75d commit 9a74160
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sections/advanced/server-side-rendering.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ On this version, you [only need to add](https://github.com/vercel/next.js/blob/c

#### App directory

For routes defined in the `app/` directory, in Next.js v13+, you'll need to put a sytled-components registry in one of your layout files, as [described in Next.js docs](https://nextjs.org/docs/app/building-your-application/styling/css-in-js#styled-components). Note that this depends on styled-components v6+. Also note that the `'use client'` directive is used - so while your page will be server-side rendered, styled-components will still appear in your client bundle.
For routes defined in the `app/` directory, in Next.js v13+, you'll need to put a styled-components registry in one of your layout files, as [described in Next.js docs](https://nextjs.org/docs/app/building-your-application/styling/css-in-js#styled-components). Note that this depends on styled-components v6+. Also note that the `'use client'` directive is used - so while your page will be server-side rendered, styled-components will still appear in your client bundle.

### Gatsby

Expand Down

0 comments on commit 9a74160

Please sign in to comment.