Server side and client side components
Answered
Virginia's Warbler posted this in #help-forum
Virginia's WarblerOP
This is just a beginner level question.
Is my understand below correct?
"that React components has always been client side from the get-go, until React version 18/19, when they introduced React Server Components,
and that Next components has always been server side from the get-go, until Next version 13, then they introduced Client Side Components"
Is my understand below correct?
"that React components has always been client side from the get-go, until React version 18/19, when they introduced React Server Components,
and that Next components has always been server side from the get-go, until Next version 13, then they introduced Client Side Components"
Answered by ᴉuɐpɹɐɐ
"that React components has always been client side from the get-go, until React version 18/19, when they introduced React Server Components,With some caveats, that Next.js tries to prerender the client components in pre Next13
and that Next components has always been server side from the get-go, until Next version 13, then they introduced Client Side Components"Next.js didnt create server component. React creates them, next.js uses it.
Until next version 13, they uses react's server component.
client components are always there before and after next13
1 Reply
"that React components has always been client side from the get-go, until React version 18/19, when they introduced React Server Components,With some caveats, that Next.js tries to prerender the client components in pre Next13
and that Next components has always been server side from the get-go, until Next version 13, then they introduced Client Side Components"Next.js didnt create server component. React creates them, next.js uses it.
Until next version 13, they uses react's server component.
client components are always there before and after next13
Answer