Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync with react.dev @ 7bdbab14 #409

Open
wants to merge 36 commits into
base: main
Choose a base branch
from
Open

Conversation

react-translations-bot
Copy link
Collaborator

This PR was automatically generated.

Merge changes from react.dev at 7bdbab1

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.

0ldh and others added 30 commits February 13, 2024 22:55
* Blog: What We've Been Working On – February 2024

* rm log

* Update src/content/blog/2024/02/15/react-labs-what-we-have-been-working-on-february-2024.md

Co-authored-by: Matt Carroll <[email protected]>

* Update src/content/blog/2024/02/15/react-labs-what-we-have-been-working-on-february-2024.md

Co-authored-by: Matt Carroll <[email protected]>

* add and

* switch

---------

Co-authored-by: Matt Carroll <[email protected]>
* Add warning page for RTR deprecation

* shorten path

* Add link for RN testing library
"React Complier"          → "React Compiler"
"and alternative history" → "an alternative history"
* Update renderToNodeStream.md

* Update renderToStaticMarkup.md

* Update renderToStaticNodeStream.md

* Update renderToString.md
Removed the redundant alternative state management suggestion. The documentation
already emphasizes the elimination of duplication by advising to hold the
selected ID in state, making the alternative suggestion unnecessary.
* Remove useMemo from useFormStatus example

* nits
…#6659)

* fix: Update @codesandbox/sandpack-react version to 2.13.1

* fix: Updated the bundlerURL  to use a new URL
* fix: Update @codesandbox/sandpack-react version to 2.13.3

* fix: Fixed bundlerURL  to use the correct URL

* fix: Update @codesandbox/sandpack-react to version 2.13.4

* style: Hide span element in sp-icon-standalone when loading
* Add /link redirects

* Update event pooling redirect
* Update useDeferredValue.md

change text from "re-render in background" to "re-render in the background"

* Update useDeferredValue.md

Change instances of "in background" to "in the background".
It seems like these localhost references were being stripped out anyway,
so this isn't a bugfix but just a small cleanup.
This PR adds a new Rules of React reference section that covers the major rules that help developers author idiomatic React apps.

---------

Co-authored-by: Sathya Gunasekaran <[email protected]>
poteto and others added 6 commits March 15, 2024 11:53
Small change to match the sidebar order.
Co-authored-by: Sebastian Silbermann <[email protected]>
Co-authored-by: Allison Strandberg <[email protected]>
This example contains a list of person objects, but only the first 3 have id properties. This appears to be a mistake; in the next use of the list all 5 person objects have this property, but it is not changed as part of an instructive exercise.

This change makes the final two with objects consistent with the remainder of the list.
Copy link

vercel bot commented Mar 25, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
fa-react-dev 🔄 Building (Inspect) Visit Preview Mar 25, 2024 1:23am
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
fa-legacy-reactjs-org ⬜️ Ignored (Inspect) Visit Preview Mar 25, 2024 1:23am

Copy link

Size changes

📦 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.9 KB (🟡 +42 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 79.75 KB (🟡 +39 B) 183.64 KB
/500 79.74 KB (🟡 +39 B) 183.64 KB
/[[...markdownPath]] 81.52 KB (🟡 +126 B) 185.42 KB
/errors 79.92 KB (🟡 +39 B) 183.82 KB
/errors/[errorCode] 79.9 KB (🟡 +39 B) 183.8 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.

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.