Skip to content

fix: broaden peer dep to support React 18 and 19#420

Merged
iamdarshshah merged 1 commit intomasterfrom
fix/react-19-peer-dep
Apr 8, 2026
Merged

fix: broaden peer dep to support React 18 and 19#420
iamdarshshah merged 1 commit intomasterfrom
fix/react-19-peer-dep

Conversation

@iamdarshshah
Copy link
Copy Markdown
Collaborator

^17.0.0 resolves to >=17 <18, blocking React 18/19 users at install time with ERESOLVE. The library's class component architecture is identical to v6, which works fine with React 19. Broadening to >=17.0.0 removes the unnecessary install-time restriction.

Fixes #419

`^17.0.0` resolves to `>=17 <18`, blocking React 18/19 users at install
time with ERESOLVE. The library's class component architecture is
identical to v6, which works fine with React 19. Broadening to `>=17.0.0`
removes the unnecessary install-time restriction.

Fixes #419
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 8, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.33%. Comparing base (dcd8a31) to head (62b4fd5).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #420   +/-   ##
=======================================
  Coverage   79.33%   79.33%           
=======================================
  Files           2        2           
  Lines         150      150           
  Branches       56       56           
=======================================
  Hits          119      119           
  Misses         24       24           
  Partials        7        7           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@iamdarshshah iamdarshshah merged commit 06bada6 into master Apr 8, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support React 19

1 participant