-
Notifications
You must be signed in to change notification settings - Fork 12
Sync with react.dev @ f6d762cb #86
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
base: main
Are you sure you want to change the base?
Conversation
* fix links * Update startTransition.md * Update startTransition.md * Update startTransition.md * Update startTransition.md
"use-server" docs Server Functions href fixed.
* Fix stylesheet precedence example * Update link.md --------- Co-authored-by: dan <[email protected]>
Co-authored-by: Josue Navas <[email protected]>
docs: fixed typo act md counter fn grammar error
… appropriate section (#7354)
the “Dealing with rejected Promises” codesandbox example depends on react-error-boundary, but doesn’t specify it as a dependency, so the code example is broken
… React Native (#7369) * docs[compiler]: clarify React DevTools support for Compiler Badges in React Native * Update react-compiler.md * Update react-compiler.md --------- Co-authored-by: dan <[email protected]>
* fix: remove forwardref from useImperativeHandle docs * Make changes more focused * Update useImperativeHandle.md --------- Co-authored-by: dan <[email protected]>
* App.js 2025 * reorder
…umentation for clarity (#7377)
…h Refs pages (#7364)
* [Blog + Docs] Updates from feedback * Merge in changes from #7618 Co-authored-by: Mark Erikson <[email protected]> * Say the words "Vite", "Parcel", and "Rsbuild" * Tweaks from feedback * re-apply #7615 * merge in #7622 Co-authored-by: elitalpa <[email protected]> --------- Co-authored-by: Mark Erikson <[email protected]> Co-authored-by: elitalpa <[email protected]>
* Remove starting react project from setup page * Fix typo
fix 18.3.0 release changelog link
* Update nextjs link with the latest URL The previous link redirected users to a 404 page. * Update src/content/reference/react/useDeferredValue.md --------- Co-authored-by: Ricky <[email protected]>
* Update input.md Fix typo about input * Update src/content/reference/react-dom/components/input.md --------- Co-authored-by: Ricky <[email protected]>
* clarify alert message behavior in issue #7494 Reworded the explanation regarding the alert message in the documentation to better describe its behavior. The alert shows the previously entered name, with an initial value set to an empty string. * Update src/content/learn/state-a-components-memory.md * Update src/content/learn/state-a-components-memory.md --------- Co-authored-by: Ricky <[email protected]>
* Fix broken header link * Update sunsetting-create-react-app.md
…r <style> when using the `precedence` property (#7643)
This is the exact same fix as #6422 as the example is duplicated between the useOptimistic and <form> pages.
* Update index.md Invalid link to bluesky account * Update index.md Fixed invalid bluesky link for react.dev
Ports over the fix in the facebook/react repo for this workflow. We don't have to wait for it to be labeled first, now that we have the reusable maintainer check.
Defaults permissions to none for all workflows, and only request extra permissions when needed. Similar to facebook/react#32708, prefer the less permissive `pull_request` trigger instead.
* [ci] Fix permissions and don't use pull_request_target Defaults permissions to none for all workflows, and only request extra permissions when needed. Similar to facebook/react#32708, prefer the less permissive `pull_request` trigger instead. * [ci] Pin 3rd party actions to specific hash
Size changes📦 Next.js Bundle Analysis for react-devThis analysis was generated by the Next.js Bundle Analysis action. 🤖
|
Page | Size (compressed) |
---|---|
global |
110.43 KB (🟡 +6.05 KB) |
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!
Six 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 |
127.14 KB (🔴 +21.18 KB) |
237.57 KB |
/500 |
127.15 KB (🔴 +21.2 KB) |
237.58 KB |
/[[...markdownPath]] |
129.02 KB (🔴 +21.28 KB) |
239.45 KB |
/_error |
190 B (🟡 +9 B) |
110.62 KB |
/errors |
127.42 KB (🔴 +21.25 KB) |
237.85 KB |
/errors/[errorCode] |
127.39 KB (🔴 +21.25 KB) |
237.83 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.
This PR was automatically generated.
Merge changes from react.dev at f6d762c
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.