Skip to content

Conversation

@ChristopherWirtOfficial
Copy link

@ChristopherWirtOfficial ChristopherWirtOfficial commented May 24, 2022

This package is currently pegged by peer dependency to React 17, which is likely to be the least adopted React version in a while, given that it was a glorified minor version before React 18. This peer dep should be more than fine for what this package does, and just increases compatibility without causing problems for users that are now able to use the package where they wouldn't be allowed to before.

Currently this package should be compatible with React 16, 17, and 18. But the Peer Deps listed basically disallow you from having any react packages that aren't in V17, which is almost certainly not the desired behavior, and a pretty annoying consequence of using the package currently. There's another PR (#915) that upgrades to React 18, but that isn't necessarily as compatible as this change and should be a lot easier to get through.

Description

Checklist

  • The version field in package.json is incremented following semantic versioning
  • The box that allows repo maintainers to update this PR is checked
  • I tested locally to make sure this feature/fix works
  • This PR passes the Circle CI checks

This package is currently pegged by peer dependency to React 17, which is likely to be the least adopted React version in a while, given that it was a glorified minor version before React 18. This peer dep should be more than fine for what this package does, and just increases compatibility without causing problems for users that are now able to use the package where they wouldn't be allowed to before.
@Adamj1232 Adamj1232 requested a review from mahmud-bn May 25, 2022 15:04
@ChristopherWirtOfficial
Copy link
Author

Not needed now that #915 is merged

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.

1 participant