Mobile Development · head to head
Apache Cordova vs Lit

Apache Cordova
Mobile Development
Open source framework for wrapping HTML, CSS and JavaScript apps as mobile apps
- From
- Free
- Free plan
- Yes

Lit
Web Development
Lightweight library for building Web Components
- From
- Free
- Free plan
- Yes
The short version
- Lit is a simple, fast library for building Web Components.
- Both are free.
- Only Apache Cordova lists targets iOS, Android and Electron; only Lit lists reactive properties.
- Where Apache Cordova falls short: apps render in a web view, so UI is not native by default.
- Where Lit falls short: smaller ecosystem compared to React or Vue.
How do Apache Cordova and Lit differ?
Apache Cordova and Lit differ on platforms and category (Mobile Development against Web Development). Only the attributes on which Apache Cordova and Lit actually diverge.
| Attribute | Apache Cordova | Lit |
|---|---|---|
| Platforms | iOS, Android, Windows, macOS, Linux | Web, API |
| Category | Mobile Development | Web Development |
Identical on both: starting price (Free), free tier (Yes).
Not yet recorded: pricing model for Lit, founded for Lit.
Which features does each one have?
They share no listed features; 6 appear only for Apache Cordova and 5 only for Lit. 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 Lit
- Reactive properties
- Tagged template literals
- Scoped styling with Shadow DOM
- Web Components standard
- Minimal bundle size
What is each one used for?
Apache Cordova is most often brought in for wrapping an existing web app as a mobile app; Lit for building reusable component libraries across frameworks. The jobs each tool is most often brought in to do.
Apache Cordova
- Wrapping an existing web app as a mobile appnot Lit
- Single codebase for iOS and Androidnot Lit
- Prototyping mobile apps with web skillsnot Lit
- Accessing device features from JavaScript through pluginsnot Lit
Lit
- Building reusable component libraries across frameworksnot Apache Cordova
- Creating design systems with scoped stylesnot Apache Cordova
- Developing progressive web applications with minimal dependenciesnot Apache Cordova
Where do Apache Cordova and Lit fall short?
Apache Cordova's most cited limit: apps render in a web view, so UI is not native by default. Lit's: smaller ecosystem compared to React or Vue. 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
Lit
- Smaller ecosystem compared to React or Vue
- Web Components adoption still growing in the industry
- Requires understanding of Shadow DOM concepts
How much do Apache Cordova and Lit cost?
Apache Cordova is free to use; Lit 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.
Lit
FreeNo published plan breakdown. See the Lit review.
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 Lit if
- You need reactive properties.
- You want to start without paying.
- You work on Web, API.
- You also want tagged template literals.
Questions people ask
- Is Apache Cordova or Lit better?
- It depends on the job. Apache Cordova fits wrapping an existing web app as a mobile app; Lit fits building reusable component libraries across frameworks. Apache Cordova starts at Free and Lit at Free.
- Which is cheaper, Apache Cordova or Lit?
- Apache Cordova starts at Free and Lit at Free.
- Does Apache Cordova or Lit run on more platforms?
- Apache Cordova runs on iOS, Android, Windows, macOS, Linux. Lit runs on Web, API.
- 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 Lit is typically brought in for.
- What can Apache Cordova do that Lit 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. Lit covers Reactive properties, Tagged template literals, Scoped styling with Shadow DOM, Web Components standard.
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.
SourceLit: Is Lit free to use?
Yes, Lit is open source and completely free under the BSD 3-Clause license.
SourceApache 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.
SourceApache 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.
SourceRelated 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 React
- Apache Cordova vs Vue.js
- Apache Cordova vs Preact
- Apache Cordova vs Stencil
- Apache Cordova vs Alpine.js
- Apache Cordova vs Svelte
- Apache Cordova vs MUI
- Apache Cordova vs Bootstrap
- Apache Cordova vs Vercel
- Apache Cordova vs Stimulus
- Apache Cordova vs Base UI
- Apache Cordova vs Jekyll
- Apache Cordova vs npm
- Apache Cordova vs TanStack Start
- Apache Cordova vs Gatsby
- Apache Cordova vs SvelteKit
- Apache Cordova vs v0 by Vercel
- Lit vs React Native
- Lit vs Ionic
- Lit vs Flutter
- Lit vs NativeScript
- Lit vs Xcode
- Lit vs Sencha
- Lit vs Kotlin Multiplatform
- Lit vs Maestro
- Lit vs Bitrise
- Lit vs Codemagic
- Lit vs .NET MAUI
- Lit vs EAS Build
- Lit vs Appcircle
- Lit vs OneSignal
- Lit vs Capacitor
- Lit vs Firebase
- Lit vs Expo
- Lit vs Android Studio
- Lit vs SolidJS
- Lit vs React
- Lit vs Vue.js
- Lit vs Preact
- Lit vs Stencil
- Lit vs Alpine.js
- Lit vs Svelte
- Lit vs MUI
- Lit vs Bootstrap
- Lit vs Vercel
- Lit vs Stimulus
- Lit vs Base UI
- Lit vs Jekyll
- Lit vs npm
- Lit vs TanStack Start
- Lit vs Gatsby
- Lit vs SvelteKit
- Lit vs v0 by Vercel
