Hacker News new | ask | show | jobs
by sandreas 501 days ago
In the old days (TM) jquery made things easy and cross platform (all browsers). It could literally take any parameter (string, array, function, ...) and mostly did magically what the dev expected. It is very intuitive and productive. For small(ish) things this is great and saves time and money.

However, this came at a cost: performance

Usually user experience is more important than developer experience at a certain breakpoint. As long as everything feels snappy, jquery is OK, but as soons as the APP starts getting slower, you just can't get along.

I'm not saying jQuery is slow in General but some things are (Dom, eventhandling) slower than native stuff and this sums up. Not to talk about highly optimized "Compile time" libs like svelte.