Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React 19 peerDependency issue caused by react-inspector #597

Open
Tracked by #716
wojtekmaj opened this issue Jan 21, 2025 · 1 comment
Open
Tracked by #716

React 19 peerDependency issue caused by react-inspector #597

wojtekmaj opened this issue Jan 21, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@wojtekmaj
Copy link
Contributor

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
@wojtekmaj wojtekmaj added the needs triage needs to be reviewed label Jan 21, 2025
@tajo
Copy link
Owner

tajo commented Jan 29, 2025

Any good alternatives? We could also fork/inline it.

@tajo tajo added enhancement New feature or request and removed needs triage needs to be reviewed labels Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants