rax-get-element-by-id v1.0.1
:christmas_tree: Familiar: React compatible API with Class Component and Hooks.
:candy: Tiny: ~6.4 KB minified + gzipped.
:earth_asia: Universal: works with DOM, Weex, Node.js, Mini-program, WebGL and could work more container that implements driver specification.
:banana: Easy: using via rax-cli
with zero configuration, one codebase with universal UI toolkit & APIs.
:lollipop: Friendly: developer tools for Rax development.
Quick Start
Create a new Rax project using create-rax
:
$ npm init rax <YourProjectName>
npm init <initializer>
is available in npm 6+
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.
- 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
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.