I wasn't aware of that, even if it sounds stupid now.
Importing a value from a client component increases the bundle size (first-load JS).
Injecting this value to a client component via a server component decreases the bundle size (first-load JS).
I bet there are a lot of insidious smells in the code regarding this perf concern.
I wasn't aware of that, even if it sounds stupid now.
Importing a value from a client component increases the bundle size (first-load JS). Injecting this value to a client component via a server component decreases the bundle size (first-load JS).
I bet there are a lot of insidious smells in the code regarding this perf concern.