You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/framework/react/guides/advanced-ssr.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ One way to think of this is that even though Server Components also _render_, th
26
26
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:
27
27
28
28
```tsx
29
-
// In Next.js, this file would be called: app/providers.jsx
29
+
// In Next.js, this file would be called: app/providers.tsx
30
30
'use client'
31
31
32
32
// Since QueryClientProvider relies on useContext under the hood, we have to put 'use client' on top
0 commit comments