3 ms·
I know some libraries are big but this one seems pretty small? A lot of files but each one's less than 1k. If you set up a concat+minifying step in your proces
by rtpg 10y ago
I know some libraries are big but this one seems pretty small? A lot of files but each one's less than 1k.
If you set up a concat+minifying step in your process (you should be doing this anyways if you're shipping a real amount of JS) then the total cost of a library like this might just be a couple kilobytes.
Angular.JS (which has a huge amount of functionality in its core) is only 50kb gzipped.
- frio 10y agoMy understanding is that this is small because it's a specification :). Most of the things I've seen implement it (eg. Ramda) are larger. Yes, I have a concat/minifying step, but as I mentioned, I'd love to see broader acceptance/implementation of tree-shaking. As it is, tying together fantasy-land, Ramda/mori, React, Redux all adds up very quickly (and that's without writing any business logic!).