Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

react-simple-compat

daybrush39.5kMITdeprecated1.2.3TypeScript support: included

Use 'croact' module.

Simple React for compatible use

react, compat, croact

readme

⚙️ Installation

npm

$ npm install react-simple-compat

No supported

  • Context
  • Hooks
  • Fragments

🚀 How to use

Alias react, react-dom to react-simple-compat

  • Rollup `js import reactCompat from "rollup-plugin-react-compat";

const reactPlugin = reactCompat({ useReactCompat: true, resolveCompat: true, });

`