Softwr

Web Development · head to head

jQuery vs Stimulus

jQuery logo

jQuery

Web Development

Open source JavaScript library for DOM traversal, events, animation and Ajax

From
Free
Free plan
Yes
Stimulus logo

Stimulus

Web Development

Small JavaScript framework that adds behaviour to existing server rendered HTML

From
Free
Free plan
Yes

The short version

  • jQuery is a free, MIT-licensed JavaScript library; Stimulus is an MIT licensed JavaScript framework.
  • Both are free.
  • Only jQuery lists DOM selection and manipulation; only Stimulus lists works with server rendered HTML.
  • Where jQuery falls short: no component model, state management or routing for building large applications.
  • Where Stimulus falls short: does not render templates, so HTML must come from the server or another tool.
  • Prices and features on this page were last checked on 25 November 2026.

How do jQuery and Stimulus differ?

jQuery and Stimulus differ on year founded (2006 against 1999). Only the attributes on which jQuery and Stimulus actually diverge.

Attributes where jQuery and Stimulus differ
AttributejQueryStimulus
Founded20061999

Identical on both: starting price (Free), pricing model (Open-source), free tier (Yes), platforms (Web), category (Web Development).

Which features does each one have?

They share no listed features; 8 appear only for jQuery and 7 only for Stimulus. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in jQuery

  • DOM selection and manipulation
  • Event handling
  • Effects and animations
  • Ajax requests
  • Deferred and Promise objects
  • Plug-in extensibility
  • Cross-browser support
  • AMD module support

Only in Stimulus

  • Controllers attached through data-controller
  • Actions that bind DOM events to controller methods
  • Targets for locating elements inside a controller
  • Values that read, write and observe data attributes
  • Works with server rendered HTML
  • Designed to pair with Turbo in Hotwire
  • MIT licensed open source

What is each one used for?

jQuery is most often brought in for maintaining legacy websites; Stimulus for adding small interactions to Rails views. The jobs each tool is most often brought in to do.

jQuery

  • Maintaining legacy websitesnot Stimulus
  • Adding simple interactions without a build stepnot Stimulus
  • Ajax calls on server-rendered pagesnot Stimulus
  • Cross-browser DOM scriptingnot Stimulus

Stimulus

  • Adding small interactions to Rails viewsnot jQuery
  • Progressive enhancement of server rendered pagesnot jQuery
  • Pairing with Turbo for fast page updatesnot jQuery
  • Replacing scattered jQuery codenot jQuery
  • Form and widget behaviour on existing HTMLnot jQuery

Where do jQuery and Stimulus fall short?

jQuery's most cited limit: no component model, state management or routing for building large applications. Stimulus's: does not render templates, so HTML must come from the server or another tool. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

jQuery

  • No component model, state management or routing for building large applications
  • Only the latest version is supported and 3.x receives critical updates only
  • jQuery UI is in maintenance-only mode and jQuery Mobile is deprecated
  • jQuery 4.0 removed deprecated APIs, which can break older plugins

Stimulus

  • Does not render templates, so HTML must come from the server or another tool
  • No built in routing, data fetching or client side state management
  • Behaviour is tied to data attributes in markup, which some teams find harder to trace
  • Not a component framework, so large interactive interfaces need other libraries

How much do jQuery and Stimulus cost?

jQuery is free to use; Stimulus is free to use. Plan by plan below, from each vendor's own pricing page.

jQuery

Free

No published plan breakdown. See the jQuery review.

Stimulus

Free

No published plan breakdown. See the Stimulus review.

Which should you pick?

Choose jQuery if

  • You need dom selection and manipulation.
  • You want to start without paying.
  • You also want event handling.

Choose Stimulus if

  • You need controllers attached through data-controller.
  • You want to start without paying.
  • You also want actions that bind dom events to controller methods.

Questions people ask

Is jQuery or Stimulus better?
Neither clearly leads. jQuery starts at Free and Stimulus at Free, and user ratings are close enough to be indistinguishable. Choose on capability and platform support.
Which is cheaper, jQuery or Stimulus?
jQuery starts at Free and Stimulus at Free.
Does jQuery or Stimulus run on more platforms?
Both run on Web, so platform support will not decide this one for you.
Can I use jQuery for free?
Both have a free tier, so you can try either at no cost before committing.
What is jQuery best used for?
jQuery is most often used for maintaining legacy websites, adding simple interactions without a build step, ajax calls on server-rendered pages, cross-browser dom scripting. Of those, maintaining legacy websites and adding simple interactions without a build step are not what Stimulus is typically brought in for.
What can jQuery do that Stimulus cannot?
jQuery covers DOM selection and manipulation, Event handling, Effects and animations, Ajax requests. Stimulus covers Controllers attached through data-controller, Actions that bind DOM events to controller methods, Targets for locating elements inside a controller, Values that read, write and observe data attributes.

Answered from the vendors’ own pages

jQuery: What is the current jQuery version?

The jQuery homepage lists version 4.1.0 as the latest, and says only the latest version is supported. Wikipedia records jQuery 4.0 released on 17 January 2026.

Source
Stimulus: What is Stimulus used for?

Stimulus enhances HTML that already exists on the page by connecting JavaScript controllers to elements through data attributes. It does not generate the HTML itself.

Source
jQuery: What licence does jQuery use?

Wikipedia says it is MIT-licensed. It was originally under CC BY-SA 2.5, moved to MIT in 2006 and became MIT-only in 2012 when the GPL option was dropped.

Source
Stimulus: What are the core concepts in Stimulus?

Controllers are the main unit, and they are joined by actions, targets and values. Actions link events to methods, targets find elements and values store state in data attributes.

Source
jQuery: Is jQuery still maintained?

Yes. The latest version is supported and 3.x receives critical updates only, per the homepage. jQuery UI is maintenance-only and jQuery Mobile is deprecated.

Source
Stimulus: What licence does Stimulus use?

The GitHub repository states that Stimulus is released under the MIT licence. It is free to use.

Source
Stimulus: Why was Stimulus created?

According to the project's origin page, Basecamp used a mix of jQuery, vanilla JavaScript and object oriented subsystems that were hard to reuse and learn. Stimulus condensed those patterns into a small, consistent framework.

Source
Share

Related pages

Other head to heads