2 ms·
No, the default is shared. It's literally in the RFC. That's why using any interactivity in a component default breaks until you add "use client". The alternat
by BoorishBears 3y ago
No, the default is shared. It's literally in the RFC.
That's why using any interactivity in a component default breaks until you add "use client". The alternative would have been to have state, a core concept of React, work correctly by default, and make server/shared components explicitly marked.