← 返回首页
Add React to an Existing Project by radosek · Pull Request #12 · reactjs/cs.react.dev · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

Add React to an Existing Project#12

Merged
radosek merged 7 commits into
mainfrom
Add-React-to-an-Existing-Project
May 29, 2023
Merged

Add React to an Existing Project#12
radosek merged 7 commits into
mainfrom
Add-React-to-an-Existing-Project

Conversation

Copy link
Copy Markdown
Collaborator

radosek commented May 27, 2023

Resolve #8

Copy link
Copy Markdown

github-actions Bot commented May 27, 2023
edited
Loading

Size changes

Details

📦 Next.js Bundle Analysis for react-dev

This analysis was generated by the Next.js Bundle Analysis action. 🤖

Three Pages Changed Size

The following pages changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load
/404 75.39 KB (🟡 +56 B) 178.55 KB
/500 75.39 KB (🟡 +56 B) 178.54 KB
/[[...markdownPath]] 76.81 KB (🟡 +56 B) 179.96 KB
Details

Only the gzipped size is provided here based on an expert tip.

First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

Next to the size is how much the size has increased or decreased compared with the base branch of this PR. If this percentage has increased by 10% or more, there will be a red status indicator applied, indicating that special attention should be given to this.

radosek changed the title Add React to an existing project Add React to an Existing Project May 27, 2023
Copy link
Copy Markdown
Collaborator

pchalupa left a comment

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality Hide comment

I left some suggestions, but overall looks great to me.

Comment thread src/content/learn/add-react-to-an-existing-project.md Outdated Show resolved Hide resolved
Comment thread src/content/learn/add-react-to-an-existing-project.md Outdated Show resolved Hide resolved
Comment thread src/content/learn/add-react-to-an-existing-project.md Outdated Show resolved Hide resolved
Comment thread src/content/learn/add-react-to-an-existing-project.md Outdated Show resolved Hide resolved
Comment thread src/content/learn/add-react-to-an-existing-project.md Outdated Show resolved Hide resolved
Comment thread src/content/learn/add-react-to-an-existing-project.md Outdated Show resolved Hide resolved
Comment thread src/content/learn/add-react-to-an-existing-project.md Outdated Show resolved Hide resolved
Comment thread src/content/learn/add-react-to-an-existing-project.md Outdated Show resolved Hide resolved
Comment thread src/content/learn/add-react-to-an-existing-project.md Outdated Show resolved Hide resolved
Copy link
Copy Markdown
Collaborator

pchalupa left a comment

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality Hide comment

My final comments. I saw a great improvement! 👏

Comment thread src/content/learn/add-react-to-an-existing-project.md Outdated Show resolved Hide resolved
Comment thread src/content/learn/add-react-to-an-existing-project.md Outdated Show resolved Hide resolved
Comment thread src/content/learn/add-react-to-an-existing-project.md Outdated Show resolved Hide resolved
Comment thread src/content/learn/add-react-to-an-existing-project.md Outdated Show resolved Hide resolved
pchalupa previously approved these changes May 29, 2023
Copy link
Copy Markdown
Collaborator

pchalupa left a comment

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality Hide comment

Good job! 👍

Comment thread src/content/learn/add-react-to-an-existing-project.md Outdated Show resolved Hide resolved
radosek merged commit 6bb6b61 into main May 29, 2023
radosek deleted the Add-React-to-an-Existing-Project branch May 29, 2023 14:04
pchalupa added this to the Learn React milestone Jun 5, 2023
pchalupa added this to the Instalation milestone Jun 5, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

Add React to an Existing Project

2 participants

Footer

© 2026 GitHub, Inc.