# zzeact

> Zzeact is a JavaScript library to learn the source code of React.

Latest version **0.3.5** (published 2019-03-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install zzeact
pnpm add zzeact
yarn add zzeact
bun add zzeact
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.5 |
| Published | 2019-03-26 |
| First published | 2019-02-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 875.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | zongzi531 |
| Maintainers | zong |
| Keywords | react, learn, source code |

## Links

- npm: https://www.npmjs.com/package/zzeact
- Repository: https://github.com/zongzi531/zzeact
- Homepage: https://github.com/zongzi531/zzeact#readme
- Issues: https://github.com/zongzi531/zzeact/issues
- npm.io page: https://npm.io/package/zzeact

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.3.5 (latest) — 2019-03-26
- 0.3.4 — 2019-03-26
- 0.3.3 — 2019-03-20
- 0.3.2 — 2019-03-14
- 0.3.1 — 2019-03-13
- 0.3.0 — 2019-02-27

## README

# Zzeact

Zzeact is a JavaScript library to learn the source code of React.

## Todo

- [x] **DOM render**
- [x] **Event**
- [x] **LifeCycle**
- [x] **React Components**
- [x] **Components Update**
- [ ] **JSX**

## Install

```bash
yarn add zzeact
```

```bash
npm install zzeact --save
```

## Quick Start

```javascript
var Examples = Zzeact.createClass({
  render: () => Zzeact.DOM.p(
    {
      style: {
        margin: 0,
        fontSize: 16,
        color: 'red'
      }
    },
    'Zzeact is rendered'
  )
})

Zzeact.renderComponent(
  Examples(null, 'children'),
  document.getElementById('container')
)
```

Now, You can using `type="text/jsx"` beacuse i integrated `JSXTransformer.js`

```jsx
/**
 * @jsx Zzeact.DOM
 */
const ExampleApplication = Zzeact.createClass({
  render: function () {
    const style = { margin: 0, fontSize: 16, color: 'red' }
    return <p style={style}>Zzeact is rendered</p>
  }
})

Zzeact.renderComponent(
  <ExampleApplication />,
  document.getElementById('container')
)
```

Or, you can see [examples](https://github.com/zongzi531/zzeact/tree/master/examples).

## License

[MIT](https://github.com/zongzi531/zzeact/blob/master/LICENSE)

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