@lyo/react

16.6.1 • Public • Published

@lyo/react

A browser-compatible version of react built automatically with Lyo.

Version Build Hits

Usage

In a browser

<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

# Install
npm i @lyo/react
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

Readme

Keywords

none

Package Sidebar

Install

npm i @lyo/react

Weekly Downloads

0

Version

16.6.1

License

MIT

Unpacked Size

29.7 kB

Total Files

3

Last publish

Collaborators

  • lyo