Server & Client Components
Unanswered
American black bear posted this in #help-forum
American black bearOP
I'd like to get expansionData directly in ExpandBuilding component to not need to pass it using props.
How to do it structurally? Please keep in mind that <Build> is a client component.
How to do it structurally? Please keep in mind that <Build> is a client component.
2 Replies
Blanc de Hotot
If the 'Build' component is a client component, then anything inside it will be marked as a client component.
@Blanc de Hotot If the 'Build' component is a client component, then anything inside it will be marked as a client component.
American black bearOP
Not necessarily, because you can use interleaving pattern, but not sure how to do it properly