Skip to content

fix(deps): Update React Dependency Versions#591

Open
NewtonLC wants to merge 1 commit intofreeCodeCamp:mainfrom
NewtonLC:main
Open

fix(deps): Update React Dependency Versions#591
NewtonLC wants to merge 1 commit intofreeCodeCamp:mainfrom
NewtonLC:main

Conversation

@NewtonLC
Copy link
Copy Markdown
Contributor

Checklist:

Closes #590

Description

This PR updates our react and react-dom packages to 18.3.1, to align with our react-test-renderer requirement.

Result: prevents a 'Conflicting Peer Dependency' error from occurring when you run npm install while your react package is under version 18.3.1.

How to test

  1. Run npm list react --depth=0 in the terminal and verify that your react version is below 18.3.1
  2. Run npm install and verify that it successfully installs the packages.

This stops a 'Conflicting Peer Dependency' error from occurring when you run npm install
while react is currently below 18.3.1
@NewtonLC NewtonLC changed the title Updated React Dependency Versions fix: Update React Dependency Versions Apr 28, 2026
@NewtonLC NewtonLC changed the title fix: Update React Dependency Versions fix(deps): Update React Dependency Versions Apr 29, 2026
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.

Fix conflicting peer dependency error for react and react-test-renderer

1 participant