# @lyo/react

> Browser-compatible version of react

Latest version **16.6.1** (published 2018-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @lyo/react
pnpm add @lyo/react
yarn add @lyo/react
bun add @lyo/react
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 16.6.1 |
| Published | 2018-11-07 |
| First published | 2018-11-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 29 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | lyo |

## Links

- npm: https://www.npmjs.com/package/@lyo/react
- npm.io page: https://npm.io/package/@lyo/react

## Recent versions

- 16.6.1 (latest) — 2018-11-07
- 16.6.0 — 2018-11-03

## README

# @lyo/react

A browser-compatible version of [react](https://www.npmjs.com/package/react) built automatically with [Lyo](https://github.com/bokub/lyo).

[![Version](https://flat.badgen.net/npm/v/@lyo/react)](https://www.npmjs.com/package/@lyo/react)
[![Build](https://bokub.github.io/lyo/badge-flat.svg)](https://www.npmjs.com/package/@lyo/react)
[![Hits](https://data.jsdelivr.com/v1/package/npm/@lyo/react/badge)](https://www.jsdelivr.com/package/npm/@lyo/react)

## Usage

#### In a browser
```html
<script src="https://cdn.jsdelivr.net/npm/@lyo/react"></script>

<script>
  react.createRef();
  react.Component(foo, bar, baz);
  react.PureComponent(foo, bar, baz);
  react.createContext(foo, bar);
  react.forwardRef(foo);
  react.lazy(foo);
  react.memo(foo, bar);
  react.createElement(foo, bar, baz);
  react.cloneElement(foo, bar, baz);
  react.createFactory(foo);
  react.isValidElement(foo);
</script>
```

#### In Node.js

```sh
# Install
npm i @lyo/react
```

```js
const react = require('@lyo/react')

react.createRef();
react.Component(foo, bar, baz);
react.PureComponent(foo, bar, baz);
react.createContext(foo, bar);
react.forwardRef(foo);
react.lazy(foo);
react.memo(foo, bar);
react.createElement(foo, bar, baz);
react.cloneElement(foo, bar, baz);
react.createFactory(foo);
react.isValidElement(foo);
```

## Disclaimer

This automated Lyo build may have not been properly tested, and is not guaranteed to work perfectly.

Use at your own risk

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