79218164cd | ||
---|---|---|
docs | ||
extensions | ||
samples | ||
src | ||
.gitignore | ||
.npmignore | ||
.npmrc | ||
.travis.yml | ||
LICENSE | ||
README.md | ||
index.android.js | ||
index.ios.js | ||
index.js | ||
index.macos.js | ||
index.windows.js | ||
package-lock.json | ||
package.json | ||
tsconfig.json | ||
tslint.json |
README.md
ReactXP
ReactXP is a library for cross-platform app development using React and React Native.
Why ReactXP
With React and React Native, your web app can share most of its logic with your iOS and Android apps, but the view layer needs to be implemented separately for each platform. We have taken this a step further and developed a thin cross-platform layer we call ReactXP. If you write your app to this abstraction, you can share your view definitions, styles and animations across multiple target platforms. Of course, you can still provide platform-specific UI variants, but this can be done selectively where desired.
Getting Started
The samples directory contains a minimal “Hello World” app that demonstrates some basic ReactXP functionality. You can use this as a starting point. Just follow the build instructions in the README file.
Also included in the samples directory is the RXPTest app which attempts to exercise all of the functionality of ReactXP. It is a good source to consult for sample usage of APIs, components, and props.
You can read more about ReactXP and its APIs from the ReactXP official Documentation.
Use the command-line tool called create-rx-app to create a starter project.
Prerequisites
Contributing
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
You must sign a Contribution License Agreement (CLA) before your PR will be merged. This is a one-time requirement for Microsoft projects in GitHub. You can read more about Contribution License Agreements (CLA) on Wikipedia. You can sign the Microsoft Contribution License Agreement by visiting https://cla.microsoft.com/. Use your GitHub account to login.
License
This project is licensed under the MIT License - see the LICENSE file for details