Hacker News new | comments | show | ask | jobs | submit login

In theory, jQuery can be brought in by reference from Google Hosted Libraries or cdnjs or whatnot, cached for a long time, and reused in any other website that uses the same external host and version. You can't say the same about your tree-shaken thingy... However, I'm not experienced enough to say how well that works in practice.



It really doesn't work out well, especially where it matters - on mobile phones with poor connectivity. Why do you think alternatives like Zepto.js exist?




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: