Protected Procedure Not working even when logged in (on server side)
Weird field error with React Hook Form (using Shadcn Form)
Auth Library Suggestions
tRPC example file structure question
layout.tsx
be the equivalent of pages/_app.tsx
or page.tsx
? I'm not sure as my page.tsx
has the code below and it looks nothing like the example
```tsx
export default async function Home() {
return ( /* components */ )
}...expo secure store
where is signup with email and password option at?
I have a nested create many query I am getting Unknown argument 'QuestionOptions'
Handling ADHD while programming
Session user id does not get added to session
get url after uploading in client side
NextAuth problem in production on Vercel
how to make c.get("jwtPayload") type safe in hono
Why is HydrateClient in page.tsx and not in layout.tsx?
Is there a reason i cannot use "use server" inside buttons anymore like the example shows.
how do you handle api calls?
NextAuth Callbacks
Next.js/tRPC Prefetch w/ HydrateClient "Error occurred prerendering page"
helpers.dehydrate()
...
When I run this code with pnpm dev
, it works fine, but when I go to pnpm build
, I am getting
```
Error occurred prerendering page "/queue". Read more: https://nextjs.org/docs/messages/prerender-error...async
... i.e:
Broken:
```ts
export default function QueuePage() {...storybook like playground
Do I need `HydrateClient` on every Next.js route?
HydrateClient
component wrapping all the elements.
I assume that is supposed to make streaming pending prefetches to work, right?
How can abstract that? For example avoiding repeating HydrateClient every time I have a prefetch. And also even avoiding the prefetch call at all by configuring something at the useQuery level?...Vertical scroll on element with dynamic height
flex flex-col flex-grow
to make the components fill as much of the vertical space as I would like. However - right now I find that if I set the 'scrollable parent' element to flex-grow - it will initially fill the desired amount of vertical space - however, when its children come to the point where they overflow it vertically (at which point i wish to scroll) the size of the parent container simply extends to accomodate its children.
How is it that people typically go about achieving this type of effect, e.g fill the rest of the remaining vertical height and make that section scrollable....