Skip to content

Conversation

@glebedel
Copy link
Contributor

@glebedel glebedel commented Aug 4, 2025

Add React 19 support to peer dependencies to resolve npm installation errors.

Previously, @stackone/react-hub could not be installed in projects using React 19+ due to an ERESOLVE error caused by conflicting peerDependencies. This PR updates the peerDependencies to include React 19 and react-dom.


Slack Thread

Open in Cursor Open in Web

Learn more about Cursor Agents

Copilot AI review requested due to automatic review settings August 4, 2025 14:09
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds React 19 support to the @stackone/react-hub package to resolve npm installation errors in projects using React 19+. The change updates both peer dependencies and development dependencies to include React 19 compatibility.

Key changes:

  • Updated peerDependencies to include React 19 support for both react and react-dom
  • Upgraded development dependencies to use React 19 versions
  • Added corresponding changelog entry

Reviewed Changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

File Description
package.json Updated peer dependencies and dev dependencies to support React 19, bumped package version to 1.2.0
CHANGELOG.md Added changelog entry documenting React 19 support feature


### Features

* add React 19 support to peerDependencies ([#XX](https://github.com/StackOneHQ/react-hub/issues/XX)) - Added support for React 19 in peer dependencies to enable installation in projects using React 19+
Copy link

Copilot AI Aug 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changelog entry contains placeholder issue numbers ([#XX]) that should be replaced with actual issue or PR numbers before merging.

Suggested change
* add React 19 support to peerDependencies ([#XX](https://github.com/StackOneHQ/react-hub/issues/XX)) - Added support for React 19 in peer dependencies to enable installation in projects using React 19+
* add React 19 support to peerDependencies ([#23](https://github.com/StackOneHQ/react-hub/issues/23)) - Added support for React 19 in peer dependencies to enable installation in projects using React 19+

Copilot uses AI. Check for mistakes.
cursor[bot]

This comment was marked as off-topic.

@glebedel glebedel closed this Oct 5, 2025
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.

3 participants