/react-simple-compat

Simple React for compatible use

Primary LanguageTypeScript

⚙️ Installation

npm

$ npm install react-simple-compat

No supported

  • Context
  • Hooks
  • Fragments

🚀 How to use

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

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

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