4 ms·
Reading further, use client is viral, and propagates to children components.
by foota 3y ago
Reading further, use client is viral, and propagates to children components.
- danabramov 3y ago"use client" is more of a bundler feature. It doesn't propagate to components per se, it affects the import tree. You can think of "use client" as a directive that says: the entire module graph below gets shipped to the client bundle.