rax-compat

Rax compatible mode, running rax project on the react runtime.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
rax-compat
17,6522970.2.810 days ago6 years agoMinified + gzip package size for rax-compat in KB

Readme

rax-compat
A runtime polyfill, for writing rax, but rendering in real React.

Usage

import { createElement } from 'rax-compat';

export default function() {
  return createElement('div', null, 'Hello World');
}

Also works with JSX, should be configured with packer(webpack/turbopack).
See also @ice/plugin-rax-compat.