rax-compat
v0.4.0
Published
Rax compatible mode, running rax project on the react runtime.
Downloads
414
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.