The plugin is built with React 18, but the react-slidedown package (dev dependency) currently supports React up to v16 (it seems it's no longer maintained). So you have to use the --force (or --legacy-peer-deps) option when you do npm install (not the best, but it works)
There is a react-slidedown-react-18 npm package, which is a fork of the same repo but updated for React 18, but I'm having trouble getting it to work with webpack. After installing the package, in the node_modules folder I see only the .tsx file, not the transpiled .js and .d.ts files.
The plugin is built with React 18, but the react-slidedown package (dev dependency) currently supports React up to v16 (it seems it's no longer maintained). So you have to use the
--force
(or--legacy-peer-deps
) option when you donpm install
(not the best, but it works)There is a react-slidedown-react-18 npm package, which is a fork of the same repo but updated for React 18, but I'm having trouble getting it to work with webpack. After installing the package, in the
node_modules
folder I see only the.tsx
file, not the transpiled.js
and.d.ts
files.