Web Development · head to head
jQuery vs Preact

jQuery
Web Development
Open source JavaScript library for DOM traversal, events, animation and Ajax
- From
- Free
- Free plan
- Yes

Preact
Web Development
3kB alternative to React with the same modern API
- From
- Free
- Free plan
- Yes
The short version
- jQuery is a free, MIT-licensed JavaScript library.
- Both are free.
- Only jQuery lists DOM selection and manipulation; only Preact lists 3kB runtime.
- Where jQuery falls short: no component model, state management or routing for building large applications.
- Where Preact falls short: compatibility through preact/compat is good but not total, and some React libraries break in ways that are hard to diagnose.
How do jQuery and Preact differ?
jQuery and Preact differ on pricing model. Only the attributes on which jQuery and Preact actually diverge.
Identical on both: starting price (Free), free tier (Yes), platforms (Web), category (Web Development).
Not yet recorded: founded for Preact.
Which features does each one have?
They share no listed features; 8 appear only for jQuery and 4 only for Preact. 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 Preact
- 3kB runtime
- preact/compat
- Same modern API
- Fast rendering
What is each one used for?
jQuery is most often brought in for maintaining legacy websites; Preact for embedded widgets that load inside someone else’s page and must stay small. The jobs each tool is most often brought in to do.
jQuery
- Maintaining legacy websitesnot Preact
- Adding simple interactions without a build stepnot Preact
- Ajax calls on server-rendered pagesnot Preact
- Cross-browser DOM scriptingnot Preact
Preact
- Embedded widgets that load inside someone else’s page and must stay smallnot jQuery
- Marketing and content sites where JavaScript payload affects Core Web Vitalsnot jQuery
- Applications targeting low-bandwidth or low-powered devicesnot jQuery
Where do jQuery and Preact fall short?
jQuery's most cited limit: no component model, state management or routing for building large applications. Preact's: behavioural differences from React exist in edge cases, particularly around event handling. 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
Preact
- Compatibility through preact/compat is good but not total, and some React libraries break in ways that are hard to diagnose
- Behavioural differences from React exist in edge cases, particularly around event handling
- A much smaller community, so unusual problems have fewer existing answers than React
How much do jQuery and Preact cost?
jQuery is free to use; Preact is free to use. Plan by plan below, from each vendor's own pricing page.
jQuery
FreeNo published plan breakdown. See the jQuery review.
Preact
Free- PreactFree
- Full library
- Commercial use permitted
- No usage limits
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 Preact if
- You need 3kb runtime.
- You want to start without paying.
- You also want preact/compat.
Questions people ask
- Is jQuery or Preact better?
- It depends on the job. jQuery fits maintaining legacy websites; Preact fits embedded widgets that load inside someone else’s page and must stay small. jQuery starts at Free and Preact at Free.
- Which is cheaper, jQuery or Preact?
- jQuery starts at Free and Preact at Free.
- Does jQuery or Preact 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 Preact is typically brought in for.
- What can jQuery do that Preact cannot?
- jQuery covers DOM selection and manipulation, Event handling, Effects and animations, Ajax requests. Preact covers 3kB runtime, preact/compat, Same modern API, Fast rendering.
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.
SourcePreact: Is Preact free?
Yes, open source under the MIT licence.
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.
SourcePreact: Can I use React libraries with Preact?
Most, through the preact/compat layer. Compatibility is good but not complete, so libraries relying on React internals can break.
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.
SourcePreact: Why choose Preact over React?
Bundle size, almost always. If payload is not a binding constraint, React’s ecosystem is usually the better trade.
Related pages
Other head to heads
- jQuery vs HTMX
- jQuery vs React
- jQuery vs Alpine.js
- jQuery vs Vue.js
- jQuery vs Rollup
- jQuery vs MUI
- jQuery vs Chakra UI
- jQuery vs Mantine
- jQuery vs Ant Design
- jQuery vs daisyUI
- jQuery vs SolidStart
- jQuery vs Babel
- jQuery vs Cloudflare Pages
- jQuery vs Eleventy
- jQuery vs HeroUI
- jQuery vs Memberstack
- jQuery vs PHP
- jQuery vs SolidJS
- jQuery vs Qwik
- jQuery vs Lit
- jQuery vs Svelte
- jQuery vs Stencil
- jQuery vs Angular
- jQuery vs Bootstrap
- Preact vs HTMX
- Preact vs React
- Preact vs Alpine.js
- Preact vs Vue.js
- Preact vs Rollup
- Preact vs MUI
- Preact vs Chakra UI
- Preact vs Mantine
- Preact vs Ant Design
- Preact vs daisyUI
- Preact vs SolidStart
- Preact vs Babel
- Preact vs Cloudflare Pages
- Preact vs Eleventy
- Preact vs HeroUI
- Preact vs Memberstack
- Preact vs PHP
- Preact vs SolidJS
- Preact vs Qwik
- Preact vs Lit
- Preact vs Svelte
- Preact vs Stencil
- Preact vs Angular
- Preact vs Bootstrap
