Tan Stack Error: 'Hydrate' is declared but its value is never read.ts(6133) 'Did you mean 'hydrate'? #7070
-
Hey everyone, I am getting this error when trying to import Hydrate within my _app.tsx file in Next.js. I am not using the new app router directory if that helps. I deleted and reinstalled my node_modules and package.json, but I am still getting the same error. I also tried installing it with yarn, but the same issue persists. I also restarted my TS server as well. Not sure if any of yall can help. Thank you Error: 'Hydrate' is declared but its value is never read.ts(6133) _app,tsx
My package.json file
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I just realized I was reading the v4 docs. For v5 its Sorry for any inconvenience |
Beta Was this translation helpful? Give feedback.
I just realized I was reading the v4 docs.
For v5 its
import { HydrationBoundary } from "@tanstack/react-query";
Sorry for any inconvenience