Skip to content

docs(en): merge reactjs.org/main into zh-hans.reactjs.org/main @ 9967ded3 #1544

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

Merged
merged 18 commits into from
May 19, 2024

Conversation

docschina-bot
Copy link
Collaborator

此 PR 自动生成。

合并 reactjs/reactjs.org 的修改至本仓库(@ 9967ded

以下文件存在冲突,可能需要重新翻译:

请解决所有冲突后提交到此 pull request,可直接在 Github 修改、切换到 sync-9967ded3 分支进行修改或者使用 Github Desktop 拉取此 pr 修改并提交。

禁止使用 Squash Merge 来合并此 Pull Request!

使用该操作会导致上游仓库的内容丢失,并致使下一次合并产生冲突。

skoryky and others added 17 commits May 9, 2024 21:01
Change the tense of "build" to "building".
* Update synchronizing-with-effects.md

Currently documentation says:

By default, your Effect will run after every render.

Which is in contrast with another section of the same page where it says:

Effects run at the end of a commit after the screen updates

* Update src/content/learn/synchronizing-with-effects.md

---------

Co-authored-by: Ricky <rickhanlonii@gmail.com>
* Fix #6854: node.js version upgrade

* Fix #6854: node.js version update
Co-authored-by: Rajat Jindal <rajat@testing.com>
* Update team.md: Jason Bonta

* Update src/content/community/team.md

Lauren's suggestion

Co-authored-by: lauren <poteto@users.noreply.github.com>

---------

Co-authored-by: lauren <poteto@users.noreply.github.com>
* Add initial skeleton

* Scaffold compiler docs structure

* Braindump for getting started

* Add intro

* tweaks

* add experimental tag

* flesh more out of index page

* flesh out installation

* add installation intro

* update install instrs

* add section on eslint plugin

* reorg

* add incremental guide

* [debugging] Add section about devtools badge

* [debugging] Add section about using logger

* Update next.js instructions

* reporting issues

* [debugging] Add section on useEffect over firing

* [debugging] Add section about conditional hook call

* Latest updates

* Remove ununsed reference pages

* adding extra context for Remix

---------

Co-authored-by: Sathya Gunasekaran <gsathya.ceg@gmail.com>
Co-authored-by: Lauren Tan <poteto@users.noreply.github.com>
Co-authored-by: Jason Bonta <jbonta@gmail.com>
Using "off", "warn", "error" has been supported for many years now - I think this helps improve the readability :) 

I completely forgot what rule: 2 meant - had to find it at 

https://eslint.org/docs/latest/use/configure/rules
Removed ; as it's unnecessary in jsx component
Front end nation is covering a full track of React talks including speakers such as:

* Kent C Dodds
* Sara Vieira
* Tejas Kumar
Copy link

vercel bot commented May 19, 2024

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

Name Status Preview Comments Updated (UTC)
zh-hans-react-dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 19, 2024 11:56pm

@awxiaoxian2020 awxiaoxian2020 merged commit 6afbf2d into main May 19, 2024
8 checks passed
@awxiaoxian2020 awxiaoxian2020 deleted the sync-9967ded3 branch May 19, 2024 23:57
Copy link

Size changes

📦 Next.js Bundle Analysis for react-dev

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

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 83.32 KB (🟡 +19 B) 187.51 KB
/500 83.32 KB (🟡 +19 B) 187.51 KB
/[[...markdownPath]] 85.35 KB (🟡 +19 B) 189.54 KB
/errors 83.53 KB (🟡 +19 B) 187.72 KB
/errors/[errorCode] 83.51 KB (🟡 +19 B) 187.7 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.