Skip to content

Update React 17 to 18#634

Merged
lotas merged 1 commit intomozilla-frontend-infra:mainfrom
dannycolin:react-18
Oct 28, 2025
Merged

Update React 17 to 18#634
lotas merged 1 commit intomozilla-frontend-infra:mainfrom
dannycolin:react-18

Conversation

@dannycolin
Copy link
Copy Markdown
Collaborator

What's included in this patch

  • Update React to 18
  • Update src/index.jsx to use createRoot instead of the deprecated Render
  • Add a .nvmrc file to help users get the right node version for our stack more quickly.

Why not React 19?

Unfortunately, upgrading to React 19 would need more work since it needs a new version of nodejs. However, we have other dependencies that'd need to be updated before bumping the nodejs version.

Copy link
Copy Markdown
Collaborator

@lotas lotas left a comment

Choose a reason for hiding this comment

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

Thank you again for the help

@lotas lotas merged commit 75bc7ce into mozilla-frontend-infra:main Oct 28, 2025
9 checks passed
@dannycolin dannycolin deleted the react-18 branch November 8, 2025 03:37
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.

2 participants