clarify why do we want to put client component at the leaf of the tree?
Unanswered
Scaly-naped Pigeon posted this in #help-forum
Scaly-naped PigeonOP
- next.js already create the initial HTML for our users regardless of client/server component .
- so is moving client component to the leaf just helps next.js build those HTML quicker and also make hydration quicker on client side?
- also when i wrap a global state provider like react query / redux - often at the highest level. are there any draw back of this?
- so is moving client component to the leaf just helps next.js build those HTML quicker and also make hydration quicker on client side?
- also when i wrap a global state provider like react query / redux - often at the highest level. are there any draw back of this?