Mobile Development · head to head
Apache Cordova vs Preact

Apache Cordova
Mobile Development
Open source framework for wrapping HTML, CSS and JavaScript apps as mobile apps
- 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
- Both are free.
- Only Apache Cordova lists targets iOS, Android and Electron; only Preact lists 3kB runtime.
- Where Apache Cordova falls short: apps render in a web view, so UI is not native by default.
- 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 Apache Cordova and Preact differ?
Apache Cordova and Preact differ on pricing model, platforms and category (Mobile Development against Web Development). Only the attributes on which Apache Cordova and Preact actually diverge.
| Attribute | Apache Cordova | Preact |
|---|---|---|
| Pricing model | Open-source | Open source, no licence fee |
| Platforms | iOS, Android, Windows, macOS, Linux | Web |
| Category | Mobile Development | Web Development |
Identical on both: starting price (Free), free tier (Yes).
Not yet recorded: founded for Preact.
Which features does each one have?
They share no listed features; 6 appear only for Apache Cordova 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 Apache Cordova
- Single JavaScript API for device functions
- Plugin system managed from the command line
- Targets iOS, Android and Electron
- HTML, CSS and JavaScript app code
- Apache 2.0 open source licence
- Platform feature support documentation
Only in Preact
- 3kB runtime
- preact/compat
- Same modern API
- Fast rendering
What is each one used for?
Apache Cordova is most often brought in for wrapping an existing web app as a mobile app; 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.
Apache Cordova
- Wrapping an existing web app as a mobile appnot Preact
- Single codebase for iOS and Androidnot Preact
- Prototyping mobile apps with web skillsnot Preact
- Accessing device features from JavaScript through pluginsnot Preact
Preact
- Embedded widgets that load inside someone else’s page and must stay smallnot Apache Cordova
- Marketing and content sites where JavaScript payload affects Core Web Vitalsnot Apache Cordova
- Applications targeting low-bandwidth or low-powered devicesnot Apache Cordova
Where do Apache Cordova and Preact fall short?
Apache Cordova's most cited limit: apps render in a web view, so UI is not native by default. 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.
Apache Cordova
- Apps render in a web view, so UI is not native by default
- No built-in UI component library or hosted build service
- Adobe's PhoneGap Build cloud service was discontinued in 2020
- Many platforms listed in older versions, such as BlackBerry and Tizen, are no longer supported
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 Apache Cordova and Preact cost?
Apache Cordova is free to use; Preact is free to use. Plan by plan below, from each vendor's own pricing page.
Apache Cordova
FreeNo published plan breakdown. See the Apache Cordova review.
Preact
Free- PreactFree
- Full library
- Commercial use permitted
- No usage limits
Which should you pick?
Choose Apache Cordova if
- You need single javascript api for device functions.
- You want to start without paying.
- You work on iOS, Android, Windows, macOS, Linux.
- You also want plugin system managed from the command line.
Choose Preact if
- You need 3kb runtime.
- You want to start without paying.
- You also want preact/compat.
Questions people ask
- Is Apache Cordova or Preact better?
- It depends on the job. Apache Cordova fits wrapping an existing web app as a mobile app; Preact fits embedded widgets that load inside someone else’s page and must stay small. Apache Cordova starts at Free and Preact at Free.
- Which is cheaper, Apache Cordova or Preact?
- Apache Cordova starts at Free and Preact at Free.
- Does Apache Cordova or Preact run on more platforms?
- Apache Cordova runs on iOS, Android, Windows, macOS, Linux. Preact runs on Web.
- Can I use Apache Cordova for free?
- Both have a free tier, so you can try either at no cost before committing.
- What is Apache Cordova best used for?
- Apache Cordova is most often used for wrapping an existing web app as a mobile app, single codebase for ios and android, prototyping mobile apps with web skills, accessing device features from javascript through plugins. Of those, wrapping an existing web app as a mobile app and single codebase for ios and android are not what Preact is typically brought in for.
- What can Apache Cordova do that Preact cannot?
- Apache Cordova covers Single JavaScript API for device functions, Plugin system managed from the command line, Targets iOS, Android and Electron, HTML, CSS and JavaScript app code. Preact covers 3kB runtime, preact/compat, Same modern API, Fast rendering.
Answered from the vendors’ own pages
Apache Cordova: Is Apache Cordova free?
Yes. The project describes itself as free and open source under the Apache License 2.0, maintained by the Apache Software Foundation.
SourcePreact: Is Preact free?
Yes, open source under the MIT licence.
Apache Cordova: How is Cordova related to PhoneGap?
Nitobi Software developed PhoneGap in 2008 and Adobe acquired Nitobi in October 2011. The code was contributed to Apache and renamed Cordova.
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.
Apache Cordova: Which platforms does Cordova support?
As of version 11, iOS, Android, Windows 8.1, Windows Phone 8.1, Windows 10 and Electron are listed on Wikipedia. The project site has a page of per-platform feature support.
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
More on Apache Cordova
Other head to heads
- Apache Cordova vs React Native
- Apache Cordova vs Ionic
- Apache Cordova vs Flutter
- Apache Cordova vs NativeScript
- Apache Cordova vs Xcode
- Apache Cordova vs Sencha
- Apache Cordova vs Kotlin Multiplatform
- Apache Cordova vs Maestro
- Apache Cordova vs Bitrise
- Apache Cordova vs Codemagic
- Apache Cordova vs .NET MAUI
- Apache Cordova vs EAS Build
- Apache Cordova vs Appcircle
- Apache Cordova vs OneSignal
- Apache Cordova vs Capacitor
- Apache Cordova vs Firebase
- Apache Cordova vs Expo
- Apache Cordova vs Android Studio
- Apache Cordova vs SolidJS
- Apache Cordova vs Vue.js
- Apache Cordova vs React
- Apache Cordova vs Qwik
- Apache Cordova vs Lit
- Apache Cordova vs Svelte
- Apache Cordova vs Alpine.js
- Apache Cordova vs Stencil
- Apache Cordova vs jQuery
- Apache Cordova vs MUI
- Apache Cordova vs Angular
- Apache Cordova vs Bootstrap
- Apache Cordova vs Babel
- Apache Cordova vs Cloudflare Pages
- Apache Cordova vs Eleventy
- Apache Cordova vs HeroUI
- Apache Cordova vs Memberstack
- Apache Cordova vs PHP
- Preact vs React Native
- Preact vs Ionic
- Preact vs Flutter
- Preact vs NativeScript
- Preact vs Xcode
- Preact vs Sencha
- Preact vs Kotlin Multiplatform
- Preact vs Maestro
- Preact vs Bitrise
- Preact vs Codemagic
- Preact vs .NET MAUI
- Preact vs EAS Build
- Preact vs Appcircle
- Preact vs OneSignal
- Preact vs Capacitor
- Preact vs Firebase
- Preact vs Expo
- Preact vs Android Studio
- Preact vs SolidJS
- Preact vs Vue.js
- Preact vs React
- Preact vs Qwik
- Preact vs Lit
- Preact vs Svelte
- Preact vs Alpine.js
- Preact vs Stencil
- Preact vs jQuery
- Preact vs MUI
- Preact vs Angular
- Preact vs Bootstrap
- Preact vs Babel
- Preact vs Cloudflare Pages
- Preact vs Eleventy
- Preact vs HeroUI
- Preact vs Memberstack
- Preact vs PHP
