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