2 ms·
And worse, if you're using npm for frontend, every time every single end user loads your web app. Previously if you wrote a frontend library and wanted to depe
by tlrobinson 11y ago
And worse, if you're using npm for frontend, every time every single end user loads your web app.
Previously if you wrote a frontend library and wanted to depend on another library you had to either tell developers to install it too, or bundle it in your library (not a great idea), but either way the file size it added was obvious.
Now you can just drop one line in your package.json, which is super convenient, but obscures the cost of that dependency, and all of it's dependencies.