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
dzenda2mo ago
No
Dox
Dox2mo ago
why???? @dzenda
dzenda
dzenda2mo ago
No because children aren't affected by the 'use client'
dzenda
dzenda2mo ago
No description
Dox
Dox2mo ago
I see. Thanks man!
Want results from more Discord servers?
Add your server