The fastest way to build universal application.
🎄 Familiar: React compatible API with Class Component and Hooks.
🍬 Tiny: ~6.7 KB minified + gzipped.
🌏 Universal: works with DOM, Weex, Node.js, Mini-program, WebGL and could work more container that implements driver specification.
🍌 Easy: using via rax-cli
with zero configuration, one codebase with universal UI toolkit & APIs.
🍭 Friendly: developer tools for Rax development.
Create a new Rax project using create-rax
:
$ npm init rax <YourProjectName>
Start local server to launch project:
$ cd <YourProjectName>
$ npm install
$ npm run start
You can inspect and modify the state of your Rax components at runtime using the React Developer Tools browser extension.
- Install the React Developer Tools extension
- Import the "rax/lib/devtools" module in your app
import 'rax/lib/devtools';
- Set
process.env.NODE_ENV
to 'development' - Reload and go to the 'React' tab in the browser's development tools
Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our guidelines for contributing.
Thanks goes to these wonderful people: