4 ms·
GP was talking about stdlib, you are talking about react. Not the same thing at all. Using stdlib is almost free on most systems. It is usually preloaded so it
by GuB-42 3y ago
GP was talking about stdlib, you are talking about react. Not the same thing at all.
Using stdlib is almost free on most systems. It is usually preloaded so it doesn't even use up ram. Unlike functions you write yourself. And with static linking, linkers will only take the functions you actually use, not the whole library.
A js library needs to be downloaded and compiled in its entirety by the user browser. There are techniques to make it less bad, none of them ideal.
The way I interpret GP post is that 12 year old didn't want to bloat his code but had a misguided idea of what causes bloat. You are saying that bloat is fine if it saves on dev costs. Two very different ideas.