Skip to content

react-slidedown and React 18 #25

@marco-pm

Description

@marco-pm

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions