正在加载视频...

视频加载失败

❌ Don't import server components directly from client components ✅ Instead send them as props to client components

42,762 次观看 • 3 年前 •via X (Twitter)

7 条评论

George Moller 的头像
George Moller3 年前

I've been working professionally with React for more than 8 years and I compiled all my knowledge into 100+ infographics just like this one. Check them out ↓

Pawel Knuth 的头像
Pawel Knuth3 年前

hi @_georgemoller , great job! What infographic service are you using for doing those? Cheers

Ashik Chapagain 的头像
Ashik Chapagain3 年前

What font are you using?

Rajan.dev 👨‍💻 的头像
Rajan.dev 👨‍💻3 年前

dude this animation is so cool !

gp 🌎 的头像
gp 🌎3 年前

What’s the advantage of doing this?

George Moller 的头像
George Moller3 年前

@0xgiangp Not advantage, but more is the only way you can send in a server component through a client component

Saidul 的头像
Saidul3 年前

This a great approach to have your code organized.

相关视频