React Native vs Capacitor
In 4,864 JavaScript/TypeScript projects set up for AI coding agents, React Native is a dependency in 140 (2.9%) and Capacitor in 50 (1.0%): React Native is 2.8× as common. Among repos created in the last 90 days that use a desktop and mobile apps tool, React Native is in 26.1% and Capacitor in 8.7%, against 43.8% and 15.4% of older ones. No project in the scan lists both: projects pick one.
Desktop and mobile apps npm Updated Nov 17, 2026
| React Native | 2.9% | |
|---|---|---|
| Capacitor | 1.0% |
Share of 4,864 JavaScript/TypeScript projects set up for AI coding agents that list each one as a dependency.
Side by side
| React Native | Capacitor | |
|---|---|---|
| Agent projects that use it | 140 | 50 |
| Rank in desktop and mobile apps | #1 | #13 |
| In new repos with a desktop and mobile apps tool (last 90 days) | 26.1% | 8.7% |
| In older repos with one | 43.8% | 15.4% |
| Downloads, last 7 days | 21.4M | 8.1M |
| GitHub stars | 127K | 17.1K |
| Last push to its repo | Nov 16, 2026 | Nov 16, 2026 |
| License | MIT | MIT |
| Funding | — | — |
| Projects that list both | 0 | |
Downloads include CI runs and installs as a dependency of other packages. Stars and pushes are from GitHub's API; downloads from npm.
By coding agent
| Projects set up for | JavaScript/TypeScript repos | React Native | Capacitor |
|---|---|---|---|
| Claude Code | 2,617 | 2.0% | 1.1% |
| GitHub Copilot | 2,350 | 2.9% | 1.1% |
| Cursor | 1,990 | 4.0% | 1.2% |
| Gemini CLI | 422 | 3.3% | 0% |
| OpenAI Codex | 409 | 4.2% | 2.0% |
| OpenCode | 304 | 4.6% | 0% |
| Devin Desktop | 231 | 2.6% | 3.0% |
| Cline | 62 | 8.1% | 0% |
Share of the JavaScript/TypeScript repos configured for each agent (its config file in the repo) that list the tool. A repo set up for two agents counts for both.
React Native
Framework for building native iOS and Android apps with React and JavaScript.
Most often used with it:
| Expo | 92.9% of its projects |
|---|---|
| react-native-safe-area-context | 86.4% of its projects |
| react-native-screens | 83.6% of its projects |
| React | 99.3% of its projects |
| React Native Reanimated | 72.1% of its projects |
npm install react-native
Capacitor
Build cross-platform native apps with JavaScript, HTML and CSS.
Most often used with it:
| React | 82.0% of its projects |
|---|---|
| Vite | 64.0% of its projects |
| Lucide React | 62.0% of its projects |
| Tailwind CSS | 78.0% of its projects |
| TypeScript | 96.0% of its projects |
npm install @capacitor/core
More matchups
How we count
Projects are public GitHub repos our weekly scan finds through coding-agent config files (CLAUDE.md, AGENTS.md, .cursor/mcp.json and others); a project uses a tool when its package.json, requirements.txt or pyproject.toml lists it. "Same job" was checked for every pair, so add-ons and companions are never paired. Shares by repo age compare repos created in the last 90 days with older ones in the same scan. More on the method.