# alilc-lowcode-rax-renderer

> Rax renderer for Ali lowCode engine

Latest version **1.0.12** (published 2022-07-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install alilc-lowcode-rax-renderer
pnpm add alilc-lowcode-rax-renderer
yarn add alilc-lowcode-rax-renderer
bun add alilc-lowcode-rax-renderer
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; popular repo.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.12 |
| Published | 2022-07-14 |
| First published | 2022-07-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 3 |
| Unpacked size | 2.2 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 15882 |
| Maintainers | gaofeng.ye |
| Keywords | low-code, lowcode, Rax |

## Links

- npm: https://www.npmjs.com/package/alilc-lowcode-rax-renderer
- Repository: https://github.com/alibaba/lowcode-engine.git#main
- Homepage: https://unpkg.alibaba-inc.com/alilc-lowcode-rax-renderer@0.1.2/build/index.html
- Issues: https://github.com/alibaba/lowcode-engine/issues
- npm.io page: https://npm.io/package/alilc-lowcode-rax-renderer

## Dependencies (3)

- [rax-find-dom-node](https://npm.io/package/rax-find-dom-node.md) ^1.0.1
- [alilc-lowcode-utils](https://npm.io/package/alilc-lowcode-utils.md) ^1.0.12
- [alilc-lowcode-renderer-core](https://npm.io/package/alilc-lowcode-renderer-core.md) ^1.0.12

## Recent versions

- 1.0.12 (latest) — 2022-07-14

## README

# Rax Renderer

Rax 渲染模块。

## 安装

```
$ npm install alilc-lowcode-rax-renderer --save
```

## 使用

```js
import { createElement, render } from 'rax';
import DriverUniversal from 'driver-universal';
import RaxRenderer from '@ali/lowcode-rax-renderer';

const components = {
  View,
  Text,
};

const schema = {
  componentName: 'Page',
  fileName: 'home',
  children: [
    {
      componentName: 'View',
      children: [
        {
          componentName: 'Text',
          props: {
            type: 'primary',
          },
          children: ['Welcome to Your Rax App'],
        },
      ],
    },
  ],
};

render(<RaxRenderer schema={schema} components={components} />, document.getElementById('root'), {
  driver: DriverUniversal,
});
```

---
_Source: https://npm.io/package/alilc-lowcode-rax-renderer · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
