StiffJobs
Explore posts from serversDTDrizzle Team
•Created by StiffJobs on 3/1/2024 in #help
Expo app using supabase sdk wants to migrate to drizzle orm instead
The package at "node_modules/postgres/cjs/src/index.js" attempted to import the Node standard library module "os".
It failed because the native React runtime does not include the Node standard library.
when i try to run the expo app with npx expo and choose to open with my iOS simulator, it turns out throw this error to me.
7 replies
Get undefined when the refetch function has successfully worked
In my use case, I first disabled the useQuery function because I want it only fetch when I want to. And by triggering the refetch, I can see in the browser console showing that my request succeeded by when I want to use the returned data which destructured from the useQuery , it shows undefined. I don't know why this happened.
I'm using pnpm :
"@trpc/client": "^10.18.0",
"@trpc/next": "^10.18.0",
"@trpc/react-query": "^10.18.0",
"@trpc/server": "^10.18.0",
10 replies