mirror of https://github.com/alibaba/ice.git
|
Publish canary / Check Changeset exists (push) Has been cancelled
Details
CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Details
CI / build (16.x, windows-latest) (push) Has been cancelled
Details
CI / build (18.x, ubuntu-latest) (push) Has been cancelled
Details
CI / build (18.x, windows-latest) (push) Has been cancelled
Details
Version / Version (16) (push) Has been cancelled
Details
Publish canary / Publish Canary (18) (push) Has been cancelled
Details
|
||
|---|---|---|
| .. | ||
| src | ||
| tests | ||
| .gitignore | ||
| CHANGELOG.md | ||
| README.md | ||
| build.config.mts | ||
| package.json | ||
| plugin.mjs | ||
| tsconfig.json | ||
README.md
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.