Skip to content

Conversation

Copy link

Copilot AI commented Jan 18, 2026

Updated peer dependencies to support React 19, enabling compatibility with Next.js 15 while maintaining backward compatibility with React 18.

Changes

  • Updated peerDependencies in package.json to accept ^18.2.0 || ^19.0.0 for both react and react-dom

This allows the package to be installed in Next.js 15 projects without peer dependency conflicts, while continuing to work with React 18 applications.

Original prompt

This section details on the original issue you should resolve

<issue_title>Update react dependencies (v19)</issue_title>
<issue_description>Please update react dependencies in packade.json so that this npm package can work with Next.js 15.</issue_description>

Comments on the Issue (you are @copilot in this section)

@giorgosart Hello @spacecat i see you've forked the repo, feel free to create a PR and I'll review it.

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: giorgosart <1062121+giorgosart@users.noreply.github.com>
@sonarqubecloud
Copy link

Copilot AI changed the title [WIP] Update React dependencies for Next.js 15 compatibility Add React 19 peer dependency support for Next.js 15 compatibility Jan 18, 2026
Copilot AI requested a review from giorgosart January 18, 2026 19:32
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.

Update react dependencies (v19)

2 participants