3 ms·
Back in the days when trying to slim down JS I used https://github.com/filamentgroup/shoestring https://github.com/filamentgroup/shoestring Main reason was beca
by nedt 2y ago
Back in the days when trying to slim down JS I used https://github.com/filamentgroup/shoestring https://github.com/filamentgroup/shoestring Main reason was because they had offered a custom build to only add what you really need.
It looks like cash has that as well, just bit more hidden in the documentation https://github.com/fabiospampinato/cash/blob/master/docs/partial_builds.md https://github.com/fabiospampinato/cash/blob/master/docs/par... If I'd use it I'd give that a try.
Somehow I still think going with what the browsers have to offer nowadays is a better option - actually it's really good and jQuery isn't really needed anymore. Especially when even the small jQuery alternative is still 6kB, while Preact, a react like lib, is only half the size.