Skip to content

Conversation

@chenjiahan
Copy link
Member

Summary

Updates the documentation for the React plugin, introduce the new preserve option for the runtime setting, along with improved descriptions for all runtime modes and clearer usage guidance for different React versions.

Related Links

Checklist

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

Copilot AI review requested due to automatic review settings September 24, 2025 13:41
@netlify
Copy link

netlify bot commented Sep 24, 2025

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit 5556c31
🔍 Latest deploy log https://app.netlify.com/projects/rsbuild/deploys/68d3f4f83c67320008105e03
😎 Deploy Preview https://deploy-preview-6244--rsbuild.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: 69 (🟢 up 8 from production)
Accessibility: 97 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: 60 (no change from production)
View the detailed breakdown and full score reports

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

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Updates the documentation for the React plugin to introduce the new preserve option for the JSX runtime setting, along with improved organization and descriptions for all runtime modes.

  • Added preserve runtime option to type definitions and documentation
  • Reorganized runtime documentation with clear subsections for each option
  • Enhanced descriptions with usage guidance for different React versions

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
website/docs/zh/plugins/list/plugin-react.mdx Updated Chinese documentation with new preserve option and restructured runtime sections
website/docs/en/plugins/list/plugin-react.mdx Updated English documentation with new preserve option and restructured runtime sections

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@chenjiahan chenjiahan merged commit 1b869a7 into main Sep 24, 2025
12 checks passed
@chenjiahan chenjiahan deleted the jsx_runtime_0924 branch September 24, 2025 13:43
@chenjiahan chenjiahan mentioned this pull request Sep 29, 2025
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