react.dev icon indicating copy to clipboard operation
react.dev copied to clipboard

feat(beta): add edit on Github for docs

Open thebergamo opened this issue 2 years ago • 1 comments
trafficstars

I could spot some Linter warning about unused imports, wasn't sure if it was required for some other parts for some reason (didn't dig enough), I can fix those in this PR as it seems quite simple also. Let me know :)

thebergamo avatar Feb 23 '23 08:02 thebergamo

Size Changes

📦 Next.js Bundle Analysis

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

⚠️ Global Bundle Size Increased

Page Size (compressed)
global 89.19 KB (🟡 +6 B)
Details

The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.

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

If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!

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 43.93 KB (🟡 +327 B) 133.12 KB
/500 43.91 KB (🟡 +327 B) 133.1 KB
/[[...markdownPath]] 44.1 KB (🟡 +327 B) 133.29 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.

github-actions[bot] avatar Feb 23 '23 08:02 github-actions[bot]