reactjs / gu.react.dev

(Work in progress) React documentation website in Gujarati
https://gu-react-dev.vercel.app
Creative Commons Attribution 4.0 International
24 stars 8 forks source link

Sync with react.dev @ b12743c3 #51

Open react-translations-bot opened 1 month ago

react-translations-bot commented 1 month ago

This PR was automatically generated.

Merge changes from react.dev at b12743c3

DO NOT SQUASH MERGE THIS PULL REQUEST!

Doing so will "erase" the commits from main and cause them to show up as conflicts the next time we merge.

github-actions[bot] commented 1 month ago

Size changes

## 📦 Next.js Bundle Analysis for react-dev This analysis was generated by the [Next.js Bundle Analysis action](https://github.com/hashicorp/nextjs-bundle-analysis). 🤖 ### ⚠️ Global Bundle Size Increased Page | Size (compressed) | |---|---| | `global` | `104.14 KB` _(🟡 +252 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!

### Five 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` | `80.79 KB` _(🟡 +1.04 KB)_ | 184.93 KB | | `/500` | `80.78 KB` _(🟡 +1.04 KB)_ | 184.93 KB | | `/[[...markdownPath]]` | `82.63 KB` _(🟡 +1.11 KB)_ | 186.78 KB | | `/errors` | `81 KB` _(🟡 +1.07 KB)_ | 185.14 KB | | `/errors/[errorCode]` | `80.98 KB` _(🟡 +1.08 KB)_ | 185.12 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.