How does the use client directive affect component rendering in Next.js

Does the "use client" directive in TRPCReactProvider mean that all components wrapped by TRPCReactProvider in RootLayout will be rendered on the client side?
6 Replies
dzenda
dzenda5mo ago
No
Dox
DoxOP5mo ago
why???? @dzenda
dzenda
dzenda5mo ago
No because children aren't affected by the 'use client'
dzenda
dzenda5mo ago
No description
Dox
DoxOP5mo ago
I see. Thanks man!
Want results from more Discord servers?
Add your server