Skip to content

React 19 peerDependency issue caused by react-inspectorΒ #597

@wojtekmaj

Description

@wojtekmaj

Describe the bug

  • @ladle/[email protected] marks itself as React 19 compatible
  • It uses react-inspector dependency, which is NOT React 19 compatible, and hasn't been updated for 2 years already.

Unsure if there are any alternatives, but people seem to be navigating away from react-inspector:

Image

Reproduction

Install @ladle/react with React 19, observe peerDependency warnings coming up from your package manager, for example:

➀ YN0060: β”‚ react is listed by your project with version 19.0.0 (p1ec28), which doesn't satisfy what @ladle/react and other dependencies request (but they have non-overlapping ranges!).

Environment

  • OS: [e.g. iOS] n/a
  • Browser [e.g. chrome, safari] n/a
  • Version [e.g. 22] n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions