Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 355 Bytes

README.md

File metadata and controls

25 lines (19 loc) · 355 Bytes

⚙️ 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,
});