😲 I Was WRONG About Next.js Client Components

preview_player
Показать описание

#nextjs #nextjs13 #reaction

👇 Follow Me On Social Media:
Рекомендации по теме
Комментарии
Автор

Thanks for the crystal clear and fluid explanation

lifealliancegroup
Автор

The Title definetly gave me a mini heart attack, you definetly aren't wrong, its just a mishap in understanding. Your Next 13 playlist definetly taught me well.

fallen_turbo
Автор

I was wrestling with this exact paradox this week. Thank you!

funkdefied
Автор

What if you pass a ServerComponent as a prop other than children? Will it still be a server component?

snivels
Автор

So if i use import statement in a use-client component, it'll be a child of comp and rendered on client.
But if i pass it as prop, it's a server components? That's cool, I'm just blurred a lil about that

royal-thunder
Автор

What if I wrapped all my components with Context React >> Client Component ? Will all the children(and in this case all components) be clients components

slahomar
Автор

I might need practical examples. If theres a form filled by server props then it could be passed to client and i could modify it changing nothing from the server. Is that right? Might need correction..

rifwann
Автор

thx for video!

which means,

if i import server component in client component, it will be treated as client component

but if i give server component as prop to client component, it will be still server component

am i right?

김규화-ju
Автор

It says Server and Client _modules_, not Server and Client _components_. Quite a distinction. Modules boundaries are defined as files en ES Modules (and in turn by Next.js)

The key word is _modules_.

dealloc
Автор

is this just an app router thing? i'm new to nextjs

pablom
Автор

I think u should create new full video about this error :?

thimerlanmatyakubov
Автор

Problem I had with this was positioning the server slots since they come in as children

afuwapedoyinsola
Автор

Can anyone tell me what's in short?
If i wrap my children with providers, will that still be a client component?

sayedulkrm
Автор

That mean, You can't import Server Component into Client Component but, Server Component can be child of Client Component, right ?

minhhieple