When comparing JQuery vs Rivets, the Slant community recommends Rivets for most people. In the question“What are the best JavaScript libraries for building a UI?” Rivets is ranked 6th while JQuery is ranked 18th. The most important reason people chose Rivets is:
Rivets takes DOM element as input, which has special attributes prefixed with 'rv-'. So you may declare DOM element in whatever language you like, even in HTML.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Easy to use
Much easier to use than traditional JavaScript. Allows a lot of features and function to be completed with less lines of code.
Pro Cross-browser support
jQuery works on all modern browsers, although there may be some issues with old versions of each browser.
Pro Strong community
The open source community has really embraced jQuery and it has many readily available plugins to help speed up the development process. In addition to this, it has great documentation and tutorials
Pro Doesn't require special DOM declaration syntax like JSX
Rivets takes DOM element as input, which has special attributes prefixed with 'rv-'. So you may declare DOM element in whatever language you like, even in HTML.
Cons
Con It is not a framework, but rather a library.
Frameworks allow you to handle page routing, authentication, and services. jQuery is not a framework, but rather a library of DOM tools for websites.
e.g.: You cannot write page routing logic within jQuery.
Con Script download
As opposed to just using raw JavaScript, users will (automatically) download the jQuery script to their local computers in order for it to work. This results in more overhead on the initial page visit, regardless of how lightweight the framework is.
Con Seems to be abandoned
No new commits have been pushed since March 2015.