Skip to content

Sync with react.dev @ 6bfde58c#121

Merged
nafistiham merged 18 commits intomainfrom
sync-6bfde58c
Jan 16, 2024
Merged

Sync with react.dev @ 6bfde58c#121
nafistiham merged 18 commits intomainfrom
sync-6bfde58c

Conversation

@react-translations-bot
Copy link
Copy Markdown
Collaborator

This PR was automatically generated.

Merge changes from react.dev at 6bfde58

The following files have conflicts and may need new translations:

Please fix the conflicts by pushing new commits to this pull request, either by editing the files directly on GitHub or by checking out this branch.

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.

probeiuscorp and others added 15 commits January 8, 2024 20:33
* Update Feedback.tsx

* Update Feedback.tsx

Time reduced to 1.5 seconds, also going to update css

* Update index.css

CSS updated for feedback component animation.

* Update Feedback.tsx

* Update index.css

---------

Co-authored-by: Ricky <rickhanlonii@gmail.com>
Adds a missing word in the documentation describing canary versioning
Co-authored-by: Aimen Ben Amor <aimen_ben_amor@epam.com>
* Fix overflowing text content in footer link

Add an ellipsis to overflowing text in the footer section for navigating between different references.

* Add min and max width to nextlink class

* Add minwidth to tailwind config

* Wrap string beyond max width

* Remove title attribute from span element
* Feat: port error-decoder

* Fix: do not choke on empty invariant

* Refactor: read url query from `useRouter`

* Fix: argsList can contains `undefined`

* Fix: handle empty string arg

* Feat: move error decoder to the separate page

* Fix: wrap error decoder header in <Intro />

* Perf: cache GitHub RAW requests

* Refactor: apply code review suggestions

* Fix: build error

* Refactor: apply code review suggestions

* Discard changes to src/content/index.md

* Fix: animation duration/delay

* Refactor: read error page from markdown

* Fix lint

* Fix /error being 404

* Prevent `_default.md` being included in `[[...markdownPath]].md`

* Fix custom error markdown reading

* Updates

---------

Co-authored-by: Ricky Hanlon <rickhanlonii@gmail.com>
@github-actions
Copy link
Copy Markdown

Size changes

Details

📦 Next.js Bundle Analysis for react-dev

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

⚠️ Global Bundle Size Increased

Page Size (compressed)
global 103.91 KB (🟡 +95 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!

New Pages Added

The following pages were added to the bundle from the code in this PR:

Page Size (compressed) First Load
/errors 78.94 KB 182.86 KB
/errors/[errorCode] 78.92 KB 182.83 KB

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 78.76 KB (🟡 +675 B) 182.68 KB
/500 78.76 KB (🟡 +674 B) 182.67 KB
/[[...markdownPath]] 80.35 KB (🟡 +676 B) 184.27 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

@nafistiham nafistiham left a comment

Choose a reason for hiding this comment

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

LGTM

@nafistiham nafistiham added this pull request to the merge queue Jan 16, 2024
Merged via the queue into main with commit 450e328 Jan 16, 2024
@nafistiham nafistiham deleted the sync-6bfde58c branch January 16, 2024 09:18
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.