</>PackageGraphPackageGraph

react-native-web

npmv0.21.2

React Native for Web

Adopt with care

react-native-web is usable, with caveats. Pulls in 25 transitive packages, about 5.1 MB installed (at least — some of the tree is still being crawled). MIT itself, but AGPL-3.0-or-later appears in the dependency tree.

  • ?Adoption: grade ?, Not reported by this registry.

    No download data reported for this package yet.

  • BMaintenance: grade B, Good.

    Last published 328 days ago. 5 releases in the last 2 years.

  • CWeight: grade C, Fair — worth a look.

    Pulls in 25 transitive packages, about 5.1 MB installed (at least — some of the tree is still being crawled).

  • BSupply chain: grade B, Good.

    This package has a single maintainer (bus factor of 1).

  • CLicense: grade C, Fair — worth a look.

    MIT itself, but AGPL-3.0-or-later appears in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding react-native-web to a project.

8
Direct dependencies

Runtime packages this one declares itself.

25
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

5.1 MB
Install size

Unpacked size of this package plus its entire runtime tree.

5
Tree depth

Longest resolved dependency chain below this package.

Part of this dependency tree has not been crawled yet, so these figures are a lower bound rather than a final total.

Licenses in the dependency tree

AGPL-3.0-or-laterMIT

Every license you inherit by installing react-native-web, not just its own. Check this before a legal review, not after.

Compatibility

Node.js
No constraint declared
Module format
ESM + CommonJS
TypeScript
No bundled types
Install scripts
None

Quick start

A usage example from the react-native-web README.

// Example component
import React from 'react';
import { AppRegistry, StyleSheet, Text, View } from 'react-native';

class App extends React.Component {
  render() {
    return (
      <View style={styles.box}>
        <Text style={styles.text}>Hello, world!</Text>
      </View>
    );
  }
}
Example truncated — see the full README.

react-native-web vs the alternatives

Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.

PackageWeekly downloadsDependentsLicenseLast release
react-native-webthis page04MIT10 months ago
next40.6M0MIT1 day ago
@expo/config9.1M5MIT1 day ago
react-native-worklets5.2M4MIT1 day ago
react-native-reanimated04MIT1 day ago
@expo/config-types03MIT1 day ago

Dependencies

Declared by react-native-web v0.21.2. Runtime dependencies are installed with the package; dev dependencies are not.

Used by

Popular packages that depend on react-native-web.

Relationship graph

Dependencies (left) and dependents (right) of react-native-web.

Frequently installed together

Release history

4 releases in the last two years, typically about 26 days apart.

Recent versions of react-native-web
VersionPublishedSizeLicense
0.21.2latest10 months ago2.8 MBMIT
0.21.11 year ago2.8 MBMIT
0.21.01 year ago2.8 MBMIT
0.20.01 year ago2.8 MBMIT
0.19.131 year ago2.8 MBMIT
0.19.122 years ago2.8 MBMIT
0.19.112 years ago2.8 MBMIT
0.19.102 years ago2.8 MBMIT
0.0.0-dee1467a32 years ago2.8 MBMIT
0.19.93 years ago2.8 MBMIT
0.19.83 years ago2.8 MBMIT
0.19.73 years ago2.8 MBMIT
0.19.63 years ago2.8 MBMIT
0.19.53 years ago2.8 MBMIT
0.19.43 years ago2.8 MBMIT

Overview

react-native-web is an npm package that react Native for Web. It has 4 known dependents in the graph. The latest version is 0.21.2, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need react Native for Web and value a focused solution.

When not to use it

Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.

Pros

  • Clear open-source license (MIT).

Cons

  • No bundled TypeScript types (may require a separate @types package).

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Keywords

Frequently asked questions

Should I use react-native-web?

react-native-web is usable, with caveats. Pulls in 25 transitive packages, about 5.1 MB installed (at least — some of the tree is still being crawled). MIT itself, but AGPL-3.0-or-later appears in the dependency tree.

How do I install react-native-web?

Run `npm install react-native-web` to add react-native-web to your npm project.

How many dependencies does react-native-web have?

react-native-web declares 10 direct dependencies and pulls in 25 packages in total once its runtime tree is resolved totalling about 5.1 MB on disk.

What license is react-native-web released under?

react-native-web is distributed under the MIT license. Its dependency tree also includes: AGPL-3.0-or-later, MIT.

How popular is react-native-web?

npm does not publish download counts. Within PackageGraph's crawl, 4 known packages depend on react-native-web.

Is react-native-web still maintained?

The most recent release of react-native-web (v0.21.2) was published 10 months ago.

Does react-native-web run install scripts?

No. react-native-web does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.