Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

yongningfu/rax

Repository files navigation

Rax

The fastest way to build universal application.

gzip size


🎄 Familiar: React compatible API with Class Component and Hooks.

🍬 Tiny: ~6.4 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.

Quick Start

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

Developer Tools

You can inspect and modify the state of your Rax components at runtime using the React Developer Tools browser extension.

  1. Install the React Developer Tools extension
  2. Import the "rax/lib/devtools" module in your app
import 'rax/lib/devtools';
  1. Set process.env.NODE_ENV to 'development'
  2. Reload and go to the 'React' tab in the browser's development tools

Contributing

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

Contributors

Thanks goes to these wonderful people:


⬆ back to top

About

🎩 A hyperscript render engine.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

Contributors

Languages

  • JavaScript 98.0%
  • HTML 1.6%
  • Other 0.4%

AltStyle によって変換されたページ (->オリジナル) /