Make .useInfiniteQuery global
[id].tsx)
2. I can't make the .useInfiniteQuery reside outside of a component, so I can't really share data via exporting
3. I tried using zustand/jotai to make the data and the fetchNextPage() global. This works as far as getting the first page of data and also running another db query for the second page, but fails when I want to get the data of the second page. (which means I really haven't found a way to get data from this point on)...ISR in frameworks
React Typescript SassError Undefined variable
sass with react && typescript, so I declared a variable in a scss file but all I'm getting is an error that says Undefined variable
How to conditionally fetch data?
TypeScript confusion
Not sure about router change?
What's the T3 way to load a font from google fonts?
_document.tsx right now
```
class MyDocument extends Document {
render() {...How to make a trpc function run automatically on start-up of server.
Best way to validate multiple files via Zod & RHF
does trpc support prisma transactions?
How can I get history in NextJS? Or just Focus on item I redirected user from when he comes back
/users/) and focus if someone is redirected to it from details page (/user/{id}). Do I need to get that id to focus on that item?Getting no session from useSession() with NextAuth
[...nextauth].ts) to check if a user with that username exists in my db, and also check if the password matches.
If that's true, I create a new session like
```typescript...gitlab - don't target master if target branch is deleted
Recommendations for front-end error logging
Prisma client must use SSL or TLS error
Error querying the database: Server error: `ERROR HY000 (1105): unknown error: Code: UNAVAILABLE\nserver does not allow insecure connections, client must use SSL/TLS
Error querying the database: Server error: `ERROR HY000 (1105): unknown error: Code: UNAVAILABLE\nserver does not allow insecure connections, client must use SSL/TLS
DATABASE_URL='mysql://***************:************@us-west.connect.psdb.cloud/example?ssl={"rejectUnauthorized":true}'
DATABASE_URL='mysql://***************:************@us-west.connect.psdb.cloud/example?ssl={"rejectUnauthorized":true}'
OAuth2+OIDC are very confusing
Shadow db with prisma
Id in zod schema for frontend and backend?
NextJS + tRPC API Logic Question