开发者

What is 'use client' on all mui component in nextjs13?

开发者 https://www.devze.com 2022-12-07 17:33 出处:网络
I am new to react/nextjs development. Always thought react component render in server and ready as cached开发者_运维问答 to go.

I am new to react/nextjs development. Always thought react component render in server and ready as cached开发者_运维问答 to go.

But if nextjs 13 make all mui controls as client component where is the render happening?

Client side? Also as you can see even for 2 line , react way of doing it is 1000 lines.

It would download whole website/app to client mobile or desktop.

I see 260mb in my ".next" directory.

Can someone explain what portion is downloaded initially?

Nextjs .next directory size is 260mb

0

精彩评论

暂无评论...
验证码 换一张
取 消