npm.io
1.2.3 • Published 3 years ago

rax

Licence
BSD-3-Clause
Version
1.2.3
Deps
6
Size
1.5 MB
Vulns
0
Weekly
0
Stars
8.0K

rax npm Dependency Status Known Vulnerabilities

A universal React-compatible render engine

Install

$ npm install --save rax

With TypeScript

$ npm install --save-dev @types/rax

Usage

import {createElement, render} from 'rax';
import * as DriverDOM from 'driver-dom';

function MyComponent() {
  return <div>Hello World</div>;
}

render(<MyComponent />, document.body, { driver: DriverDOM });