Skip to content

perf: remove React 17 compatibility code#2174

Merged
SoonIter merged 1 commit intomainfrom
drop_react_17_0516
May 16, 2025
Merged

perf: remove React 17 compatibility code#2174
SoonIter merged 1 commit intomainfrom
drop_react_17_0516

Conversation

@chenjiahan
Copy link
Copy Markdown
Member

Summary

This PR removes React 17 compatibility code from Rspress.

Rspress 2.0 uses React 19 by default, and the minimum supported React version is 18, which means React 17 will no longer be supported.

Related Issue

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@netlify
Copy link
Copy Markdown

netlify bot commented May 16, 2025

Deploy Preview for rspress ready!

Name Link
🔨 Latest commit 4b218b0
🔍 Latest deploy log https://app.netlify.com/projects/rspress/deploys/6826e5cd7b87e000084d266d
😎 Deploy Preview https://deploy-preview-2174--rspress.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 86 (🔴 down 9 from production)
Accessibility: 97 (no change from production)
Best Practices: 92 (🟢 up 9 from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link
Copy Markdown

netlify bot commented May 16, 2025

Deploy Preview for rspress-v2 ready!

Name Link
🔨 Latest commit 4b218b0
🔍 Latest deploy log https://app.netlify.com/projects/rspress-v2/deploys/6826e5cd3e2d37000854b9f3
😎 Deploy Preview https://deploy-preview-2174--rspress-v2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
Member

@SoonIter SoonIter left a comment

Choose a reason for hiding this comment

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

thanks~

@SoonIter SoonIter merged commit 7a30ca0 into main May 16, 2025
12 checks passed
@SoonIter SoonIter deleted the drop_react_17_0516 branch May 16, 2025 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants