Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

jQuery
jQuery

131.6K
23.8K
+ 1
6.6K
Vue.js
Vue.js

14.5K
12K
+ 1
1.1K
Add tool

jQuery vs Vue.js: What are the differences?

What is jQuery? The Write Less, Do More, JavaScript Library. jQuery is a cross-platform JavaScript library designed to simplify the client-side scripting of HTML.

What is Vue.js? Reactive Components for Modern Web Interfaces. Vue.js is a library for building interactive web interfaces. It provides data-reactive components with a simple and flexible API.

jQuery and Vue.js belong to "Javascript UI Libraries" category of the tech stack.

"Cross-browser", "Dom manipulation" and "Power" are the key factors why developers consider jQuery; whereas "Simple and easy to start with", "Good documentation" and "Components" are the primary reasons why Vue.js is favored.

jQuery and Vue.js are both open source tools. It seems that Vue.js with 142K GitHub stars and 20.4K forks on GitHub has more adoption than jQuery with 51.8K GitHub stars and 18.2K GitHub forks.

According to the StackShare community, jQuery has a broader approval, being mentioned in 4019 company stacks & 2547 developers stacks; compared to Vue.js, which is listed in 819 company stacks and 1170 developer stacks.

What is jQuery?

jQuery is a cross-platform JavaScript library designed to simplify the client-side scripting of HTML.

What is Vue.js?

It is a library for building interactive web interfaces. It provides data-reactive components with a simple and flexible API.
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose jQuery?
Why do developers choose Vue.js?

Sign up to add, upvote and see more prosMake informed product decisions

What companies use jQuery?
What companies use Vue.js?

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with jQuery?
What tools integrate with Vue.js?

Sign up to get full access to all the tool integrationsMake informed product decisions

What are some alternatives to jQuery and Vue.js?
Bootstrap
Bootstrap is the most popular HTML, CSS, and JS framework for developing responsive, mobile first projects on the web.
JavaScript
JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
React
Lots of people use React as the V in MVC. Since React makes no assumptions about the rest of your technology stack, it's easy to try it out on a small feature in an existing project.
AngularJS
AngularJS lets you write client-side web applications as if you had a smarter browser. It lets you use good old HTML (or HAML, Jade and friends!) as your template language and lets you extend HTML’s syntax to express your application’s components clearly and succinctly. It automatically synchronizes data from your UI (view) with your JavaScript objects (model) through 2-way data binding.
jQuery Mobile
jQuery Mobile is a HTML5-based user interface system designed to make responsive web sites and apps that are accessible on all smartphone, tablet and desktop devices.
See all alternatives
Decisions about jQuery and Vue.js
Rails
Rails
Sidekiq
Sidekiq
PostgreSQL
PostgreSQL
Redis
Redis
MongoDB
MongoDB
Vue.js
Vue.js
vuex
vuex
jQuery
jQuery
React
React
Redux
Redux
Yarn
Yarn
#Bulma.io
#Font-awesome

I'm building a new process management tool. I decided to build with Rails as my backend, using Sidekiq for background jobs. I chose to work with these tools because I've worked with them before and know that they're able to get the job done. They may not be the sexiest tools, but they work and are reliable, which is what I was optimizing for. For data stores, I opted for PostgreSQL and Redis. Because I'm planning on offering dashboards, I wanted a SQL database instead of something like MongoDB that might work early on, but be difficult to use as soon as I want to facilitate aggregate queries.

On the front-end I'm using Vue.js and vuex in combination with #Turbolinks. In effect, I want to render most pages on the server side without key interactions being managed by Vue.js . This is the first project I'm working on where I've explicitly decided not to include jQuery . I have found React and Redux.js more confusing to setup. I appreciate the opinionated approach from the Vue.js community and that things just work together the way that I'd expect. To manage my javascript dependencies, I'm using Yarn .

For CSS frameworks, I'm using #Bulma.io. I really appreciate it's minimal nature and that there are no hard javascript dependencies. And to add a little spice, I'm using #font-awesome.

See more
Justin Welter
Justin Welter
CTO at Stukent · | 6 upvotes · 983 views
jQuery
jQuery

I use jQuery because like other frameworks/libraries it handles significant amounts of boilerplate and heavy lifting compared to crafting your own UI tooling. Certainly more modern options such as Angular/Vue/React overcome some of the challenges in large jQuery based applications, but if you just need some straightforward DOM manipulation on a small scope, why not jQuery?

See more
JavaScript
JavaScript
jQuery
jQuery

"Do you recommend using jQuery, vanilla JavaScript or some combination of them, and in what situation do each of those make sense?"

If jQuery or vanilla are the only two options available, then use the library that's available when its features will avoid having to reinvent wheels. Look at what jQuery offers, and look at the things you want to do. If a handmade solution doesn't require a lot of extra effort, then don't bother.

But the correct answer is NONE OF THE ABOVE. There are a LOT of other options. https://www.google.com/search?q=top+javascript+frameworks&tbs=qdr:m Use a tool that makes sense for the goals of your project. Will it save you effort? Will it make the code more maintainable? There is no one perfect answer.

See more
Tony Ko
Tony Ko
Front End Developer · | 5 upvotes · 2.5K views
JavaScript
JavaScript
jQuery
jQuery

I prefer native JavaScript over jQuery where possible to avoid bloat. I also find native JS methods to be documented better than jQuery's documentation site.

Most jQuery methods can be replaced with native code. I rather use a dedicated library for any exceptions. For example, axios.get is much better than $.get. Also, you can pick any number of animation libraries that are better than jQuery.

However, I don't mind using it in a team environment where communication & maintainability > code size. jQuery can help in those cases because most team members will know jQuery.

See more
Pedro Arnal Puente
Pedro Arnal Puente
CTO at La Cupula Music SL · | 8 upvotes · 39.7K views
atLa Cupula Music SLLa Cupula Music SL
JavaScript
JavaScript
jQuery
jQuery
jQuery UI
jQuery UI
Vue.js
Vue.js
Webpack
Webpack
ESLint
ESLint
Babel
Babel
ES6
ES6

We are phasing out jQuery and jQuery UI in favour or Vue.js and @Vue-cli so we can support building a modern, well-architectured frontend.

The JavaScript build pipeline is supported by Webpack , and includes tools like ESLint and Babel , so we can properly support the latest ES/JS versions, with ES6 as the minimum baseline.

See more
Martin Bayreuther
Martin Bayreuther
Vue.js
Vue.js

I use Vue.js because I find the resulting code cleaner, more concise and easier to read.

However if you are looking for the broader community and wider corporate level adoption, go for react. Both work well and I have used both successfully. For me the preference for vue is a matter of personal taste with regards to code aesthetics.

See more
Tony Ko
Tony Ko
Front End Developer · | 6 upvotes · 953 views
Vue.js
Vue.js

I use Vue.js because it allows me to keep dev momentum. Vue includes many things out of the box that React doesn't include while remaining "lighter" than angular. For example: - Vue single file components include template, logic and styling out of the box. It also allows you to use language parsers such as Pug to write your component template and SCSS for styling. - Vue uses a simple Object to initialize an instance - Vue has support for transitions out of the box (say, for example, a fade in-out between component swaps, or adding an element to a list) - Vue has observers and two way binding like angular - Vue can conditionally render content in templates via template conditional tags

However, Vue is opinionated because of all those points. React is much more abstract and much closer to actual javascript. - React's state is a variable that lives in the constructor of the class component. - Reacts components are JS native classes or functions. - Devs are free to implement transitions, styled-components on their own. Styled-components however, is not as intuitive as Vue's CSS/SCSS support. - React is a bit less intuitive for conditional rendering, as it relies on methods or ternary operators to render template conditionally. - JSX actually compiles down to javascript.

It really depends on your needs. Vue is most popular on Github but React has a huge demand in hiring (Mostly to convert existing angular or legacy applications to React). React is backed by Facebook and has more highly skilled contributors than Vue, though not to detract a single bit from Vue's own skilled contributors. If you're looking for developers, it's much easier to find seasoned react devs, at least as of Jul 2019. If you're a marketing or news agency that has deadlines, Vue's efficiencies may be the best, however, a large corporation may favour React since it has more support and is more of an "open slate" so to speak.

See more
Tassanai Singprom
Tassanai Singprom
Web Developer · | 10 upvotes · 847.4K views
JavaScript
JavaScript
PHP
PHP
HTML5
HTML5
jQuery
jQuery
Redis
Redis
Amazon EC2
Amazon EC2
Ubuntu
Ubuntu
Sass
Sass
Vue.js
Vue.js
Firebase
Firebase
Laravel
Laravel
Lumen
Lumen
Amazon RDS
Amazon RDS
GraphQL
GraphQL
MariaDB
MariaDB
Google Analytics
Google Analytics
Postman
Postman
Elasticsearch
Elasticsearch
Git
Git
GitHub
GitHub
GitLab
GitLab
npm
npm
Visual Studio Code
Visual Studio Code
Kibana
Kibana
Sentry
Sentry
BrowserStack
BrowserStack
Slack