Softwr

Mobile Development · head to head

Apache Cordova vs React

Apache Cordova logo

Apache Cordova

Mobile Development

Open source framework for wrapping HTML, CSS and JavaScript apps as mobile apps

From
Free
Free plan
Yes
React logo

React

Web Development

A JavaScript library for building user interfaces

From
Free
Free plan
Yes

The short version

  • Both are free.
  • Only Apache Cordova lists targets iOS, Android and Electron; only React lists component-based architecture.
  • Where Apache Cordova falls short: apps render in a web view, so UI is not native by default.
  • Where React falls short: JSX requires a build step using Webpack, Babel, or other transpilers to convert to browser-executable JavaScript.

How do Apache Cordova and React differ?

Apache Cordova and React differ on pricing model (Open-source against Free), platforms and category (Mobile Development against Web Development). Only the attributes on which Apache Cordova and React actually diverge.

Attributes where Apache Cordova and React differ
AttributeApache CordovaReact
Pricing modelOpen-sourceFree
PlatformsiOS, Android, Windows, macOS, LinuxWeb, iOS, Android
CategoryMobile DevelopmentWeb Development
Founded20082013

Identical on both: starting price (Free), free tier (Yes).

Which features does each one have?

They share no listed features; 6 appear only for Apache Cordova and 20 only for React. 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 React

  • Component-based architecture
  • Virtual DOM
  • JSX syntax
  • Unidirectional data flow
  • React Hooks
  • Server-side rendering
  • Hot reloading
  • Developer tools

What is each one used for?

Apache Cordova is most often brought in for wrapping an existing web app as a mobile app; React for web application development. The jobs each tool is most often brought in to do.

Apache Cordova

  • Wrapping an existing web app as a mobile appnot React
  • Single codebase for iOS and Androidnot React
  • Prototyping mobile apps with web skillsnot React
  • Accessing device features from JavaScript through pluginsnot React

React

  • Web application developmentnot Apache Cordova
  • Single-page applicationsnot Apache Cordova
  • Interactive user interfacesnot Apache Cordova
  • Mobile app developmentnot Apache Cordova
  • Component librariesnot Apache Cordova

Where do Apache Cordova and React fall short?

Apache Cordova's most cited limit: apps render in a web view, so UI is not native by default. React's: JSX requires a build step using Webpack, Babel, or other transpilers to convert to browser-executable JavaScript. 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

React

  • JSX requires a build step using Webpack, Babel, or other transpilers to convert to browser-executable JavaScript
  • Routing and state management are separate dependencies, not included in core library
  • Configuration complexity for advanced features like server-side rendering without a meta-framework
  • Requires choosing and configuring build tools and development environment setup

How much do Apache Cordova and React cost?

Apache Cordova is free to use; React is free to use. Plan by plan below, from each vendor's own pricing page.

Apache Cordova

Free

No published plan breakdown. See the Apache Cordova review.

React

Free
  • Open SourceFree
    • Component-based architecture
    • Virtual DOM
    • JSX syntax

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 React if

  • You need component-based architecture.
  • You want to start without paying.
  • You work on Web, iOS, Android.
  • You also want virtual dom.

Questions people ask

Is Apache Cordova or React better?
It depends on the job. Apache Cordova fits wrapping an existing web app as a mobile app; React fits web application development. Apache Cordova starts at Free and React at Free.
Which is cheaper, Apache Cordova or React?
Apache Cordova starts at Free and React at Free.
Does Apache Cordova or React run on more platforms?
Apache Cordova runs on iOS, Android, Windows, macOS, Linux. React runs on Web, iOS, Android.
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 React is typically brought in for.
What can Apache Cordova do that React 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. React covers Component-based architecture, Virtual DOM, JSX syntax, Unidirectional data flow.

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.

Source
React: Is React free to use commercially?

Yes. React is distributed under the MIT open-source license, which permits free usage for both personal and commercial projects without licensing fees or restrictions.

Source
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.

Source
React: Does React support TypeScript?

Yes. React works seamlessly with TypeScript for type-safe component development. TypeScript provides static type checking for React components, props, and state, improving code reliability and developer experience.

Source
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.

Source
React: Do I need a build step to use React?

If you use JSX, yes. JSX requires transpilation by a build tool like Webpack and Babel before browsers can execute it. However, React can be used without JSX by calling React.createElement directly, which does not require a build step.

Source
React: Can I build offline-capable applications with React?

Yes. React supports building Progressive Web Apps (PWAs) with service workers and IndexedDB for offline functionality. Create React App includes service worker setup, though it must be manually enabled for production use.

Source
Share

Related pages

Other head to heads