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
dzenda10mo ago
No
Dox
DoxOP10mo ago
why???? @dzenda
dzenda
dzenda10mo ago
No because children aren't affected by the 'use client'
dzenda
dzenda10mo ago
No description
Dox
DoxOP10mo ago
I see. Thanks man!

Did you find this page helpful?