Skip to content

Fix broken link in render-and-commit.md#4327

Merged
gaearon merged 1 commit intoreactjs:mainfrom
mayank99:patch-1
Feb 12, 2022
Merged

Fix broken link in render-and-commit.md#4327
gaearon merged 1 commit intoreactjs:mainfrom
mayank99:patch-1

Conversation

@mayank99
Copy link
Copy Markdown
Contributor

/reference/setState -> /apis/usestate#setstate

For the actual text, I also considered being more verbose (e.g. "the set function from useState") but decided to go with the shorter version.

`/reference/setState` -> `/apis/usestate#setstate`
@github-actions
Copy link
Copy Markdown

Size Changes

Details

📦 Next.js Bundle Analysis

This analysis was generated by the next.js bundle analysis action 🤖

One Page Changed Size

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

Page Size (compressed) First Load
/learn/render-and-commit 220.57 KB (🟡 +4 B) 313.9 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.

Copy link
Copy Markdown
Collaborator

@harish-sethuraman harish-sethuraman left a comment

Choose a reason for hiding this comment

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

LGTM

@gaearon gaearon merged commit a06d860 into reactjs:main Feb 12, 2022
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.

4 participants