Cross-platform React interfaces for ReactDOM and React Native.



Cross-platform React components for ReactDOM and React Native.
Install react-x using yarn:
``shell`
yarn add react-x
No additional setup required for react-native.
If using Webpack, you need to add the .dom.js extension to the extensions array.
`javascript`
module.exports = {
resolve: {
extensions: ['.dom.js', '.js', '.json'],
},
};
If you have any ideas on how this module could be better, create an Issue or submit a PR.
A special thanks to @donavon for allowing me to use the react-x` package name!