rax

by alibaba

alibaba / rax

🐰 Rax is a progressive React framework for building universal application. https://rax.js.org

6.8K Stars 600 Forks Last release: 3 months ago (v1.1.4) Other 5.9K Commits 4 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Rax

Rax is a progressive React framework for building universal application.

gzip size


πŸ’Œ Write Once, Run Anywhere: write one codebase, run with

Web
,
Weex
,
Node.js
,
Alibaba MiniApp
,
WeChat MiniProgram
and could work with more container that implements driver specification.

⏱ Fast: use better performance and tinier size(πŸ“¦~6KB) alternative to React with the same API.

πŸ“€ Easy: quick start with zero configuration, all features like

Progressive Web App(PWA)
,
Server-Side Rendering(SSR)
and
Function as a service(FaaS)
can be used out of the box.

Quick Start πŸ₯’🍚

Start from command line

Create a new Rax project using

create-rax
:
$ npm init rax 

npm init 
is available in npm 6+

Start local server to launch project:

$ cd 
$ npm install
$ npm run start

Start from VS Code

You need to install the Iceworks extension and invoke the

Iceworks: Create Application
command from the VS Code command palette (
Ctrl + Shift + P
or
Cmd + Shift + P
on Mac):

vscode

Developer Tools πŸ› 

You can inspect and modify the state of your Rax components at runtime using the Rax Developer Tools browser extension, and extension not works in

producation
mode.
  1. Install the Chrome Rax Developer Tools extension
  2. Reload and go to the 'Rax' tab in the browser's development tools

VS Code Extension

You can use Iceworks VS Code Extension to get better development experience.

Awesome Things πŸ“

You can find some awesome things in the awesome-rax.

Contributing 🧼

Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our guidelines for contributing.

Code Contributors

This project exists thanks to all the people who contribute.

Community support

For general help using Rax, please refer to the official site. For additional help, you can use one of these channels to ask a question:

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.