4 ms·
I'm using jquery for certain layout libraries that I need unless you have another library that provides it. Also I'm using datatables. I don't think there's an
by Something1234 8y ago
I'm using jquery for certain layout libraries that I need unless you have another library that provides it. Also I'm using datatables. I don't think there's an alternative to datatables that even comes close to being as well put together.
There's just a huge number of libraries around that depend on jquery, and are rock solid with continuing support. I would prefer to use something proven than something that will be gone in a couple of years or abandoned or the underlying library will end up not supporting a feature that widget requires.
I don't want to come across as unappreciative, but there's still reasons to use jquery.
- stuartd 8y ago> something that will be gone in a couple of years I suspect jQuery and it's ecosystem will themselves become irrelevant and eventually (effectively) abandoned. The (at the time compelling) rationale of abstracting away different browser behaviour has become less and less necessary, and what I would see as the other advantage of using jQuery - like easier access to behaviours like animation, $ajax - less relevant. $ajax supports async/await, yes - https://petetasker.com/using-async-await-jquerys-ajax/ https://petetasker.com/using-async-await-jquerys-ajax/ - but why would I not want to just use the fetch apis? https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API (ignoring browser compatibility, which is becoming the norm)
- smt88 8y ago> I don't think there's an alternative to datatables that even comes close to being as well put together. One of my projects uses ag-Grid[1]. It works very well and doesn't depend on jQuery. There are lots of others to choose from, including FancyGrid[2] and a vanilla-JS version of datatables[3]. ag-Grid has paying enterprise clients that contractually obligate the developers to continue support. As a guarantee of future support, that's as good as it gets in the open-source world. > rock solid with continuing support It looks like jQuery itself is not very actively developed anymore[4]. > I don't want to come across as unappreciative, but there's still reasons to use jquery. It's completely fine to disagree. That's what makes HN interesting. I didn't take it personally. 1. https://www.ag-grid.com/ https://www.ag-grid.com/ 2. https://fancygrid.com/ https://fancygrid.com/ 3. https://github.com/Mobius1/Vanilla-DataTables https://github.com/Mobius1/Vanilla-DataTables 4. https://github.com/jquery/jquery/issues/3886 https://github.com/jquery/jquery/issues/3886