Skip to content

Phase 1: Upgrade React dependencies from v17 to v19#18

Open
devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1778102322-react-19-upgrade
Open

Phase 1: Upgrade React dependencies from v17 to v19#18
devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1778102322-react-19-upgrade

Conversation

@devin-ai-integration
Copy link
Copy Markdown

@devin-ai-integration devin-ai-integration Bot commented May 6, 2026

Summary

Upgrades all React-related dependencies from React 17 to React 19. This is Phase 1 (dependency-only changes) — no source code modifications are included.

Dependency changes:

Package Before After
react ^17.0.2 ^19.0.0
react-dom ^17.0.2 ^19.0.0
react-scripts 5.0.0 5.0.1
@testing-library/react ^12.1.4 ^16.3.2
@testing-library/jest-dom ^5.16.3 ^6.6.3
@testing-library/user-event ^13.5.0 ^14.6.1
react-countdown ^2.3.2 ^2.3.6
react-transition-group ^4.4.2 ^4.4.5
react-icons ^4.3.1 ^5.6.0
web-vitals ^2.1.4 ^4.2.4

All peer dependency checks passed. npm install completed successfully without --legacy-peer-deps.

Review & Testing Checklist for Human

  • Verify npm install completes without errors on a clean clone
  • Run npm run build to confirm the app builds with React 19
  • Run CI=true npm test to confirm tests pass with updated testing-library versions
  • Smoke-test the app locally (npm start) to verify gameplay works

Notes

  • react-scripts 5.0.1 is the latest stable release and its peer dep (react >= 16) is satisfied by React 19
  • web-vitals was updated to v4 (not v5) to minimize API breaking changes — v4 maintains backward compatibility with the v2 reporting API used in src/reportWebVitals.js
  • react-icons jumped a major version (4→5) but has no React-version peer dep constraint (react: *)
  • @testing-library/react v16 explicitly supports React 18 and 19 via peer deps

Link to Devin session: https://app.devin.ai/sessions/c3aeb090ecbc49ac98307a8b0f994746
Requested by: @shahmir-masood


Devin Review

Status Commit
⚪ Not started

Run Devin Review

💡 Connect your GitHub account to enable automatic code reviews.

Open in Devin Review (Staging)

- react: ^17.0.2 → ^19.0.0
- react-dom: ^17.0.2 → ^19.0.0
- react-scripts: 5.0.0 → 5.0.1
- @testing-library/react: ^12.1.4 → ^16.3.2
- @testing-library/jest-dom: ^5.16.3 → ^6.6.3
- @testing-library/user-event: ^13.5.0 → ^14.6.1
- react-countdown: ^2.3.2 → ^2.3.6
- react-transition-group: ^4.4.2 → ^4.4.5
- react-icons: ^4.3.1 → ^5.6.0
- web-vitals: ^2.1.4 → ^4.2.4

Co-Authored-By: shahmir.masood <shahmir.masood@cognition.ai>
@devin-ai-integration
Copy link
Copy Markdown
Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

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.

0 participants