Skip to content

Commit

Permalink
docs: Update advanced-ssr.md (#8021)
Browse files Browse the repository at this point in the history
typescript was yelling
  • Loading branch information
Boby900 committed Sep 8, 2024
1 parent 353e4ad commit 49bfe68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/framework/react/guides/advanced-ssr.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ One way to think of this is that even though Server Components also _render_, th
The first step of any React Query setup is always to create a `queryClient` and wrap your application in a `QueryClientProvider`. With Server Components, this looks mostly the same across frameworks, one difference being the filename conventions:

```tsx
// In Next.js, this file would be called: app/providers.jsx
// In Next.js, this file would be called: app/providers.tsx
'use client'

// Since QueryClientProvider relies on useContext under the hood, we have to put 'use client' on top
Expand Down

0 comments on commit 49bfe68

Please sign in to comment.