Meet npm Pro: unlimited public & private packages + package-based permissions.Learn more »

react-x

3.4.1 • Public • Published

react-x

npm npm npm

Cross-platform React components for ReactDOM and React Native.

Getting Started

Install react-x using yarn:

yarn add react-x

Setup

React Native

No additional setup required for react-native.

React DOM

If using Webpack, you need to add the .dom.js extension to the extensions array.

module.exports = {
  resolve: {
    extensions: ['.dom.js', '.js', '.json'],
  },
};

Motivation

Usage

Contributing

If you have any ideas on how this module could be better, create an Issue or submit a PR.

Special Thanks

A special thanks to @donavon for allowing me to use the react-x package name!

Install

npm i react-x

DownloadsWeekly Downloads

8

Version

3.4.1

License

MIT

Unpacked Size

6.54 kB

Total Files

4

Last publish

Collaborators

  • avatar