Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

Sync with reactjs.org @ e77ba1e9 #141

Open
wants to merge 738 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 reactjs.org at e77ba1e

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.

zqran and others added 30 commits September 14, 2022 14:10
…oc (#5056)

* [Beta] Update some document content format in API/react-dom/client Doc

* [Beta] Remove semicolon from intro
* [Beta] Update some document content format in API Doc

* [Beta] Remove semicolon from intro

* [Beta] Add semicolon
React Native EU 2022 has now finished, so moving it from the Upcoming Conferences section to the Past Conferences section.
* [Beta] Update some document content format in API/react-dom Doc

* [Beta] Remove semicolon from intro

* [Beta] Add semicolon
* [Beta] Update `Describing the UI` Doc content format

* [Beta] Update link

* [Beta] Revert
* [beta] Remove 'each next' and 'every next'

* Update beta/src/content/apis/react/useCallback.md

Co-authored-by: Ricky <[email protected]>

* Update separating-events-from-effects.md

* Update you-might-not-need-an-effect.md

Co-authored-by: Ricky <[email protected]>
Co-authored-by: dan <[email protected]>
* [beta] Add flushSync docs

* tweaks

* tweaks

Co-authored-by: Dan Abramov <[email protected]>
* [Beta] Fragment edits

* Add some links
* Initial forwardRef draft

* more info

* more link

* oops

Co-authored-by: Arati Chilad <[email protected]>
* [Beta] Initial API doc for Suspense

This doesn't include everything but I think it's good enough for
a start.

I didn't add any interactive examples yet because I want to use the
`use` API, so I'll wait until that's documented.

* edits

Co-authored-by: Dan Abramov <[email protected]>
* Create Fragment API reference page

* Minor formatting changes

* Create memo API reference page

* [beta] Dan's suggestions for memo

* Update beta/src/content/apis/react/memo.md

Co-authored-by: Strek <[email protected]>

* edits

Co-authored-by: Rick Hanlon <[email protected]>
Co-authored-by: Strek <[email protected]>
Co-authored-by: Dan Abramov <[email protected]>
…" changed to false. Since there can be only one empty message when the initial state of "showForm" changed from true to false. (#5071)
rahulrao0209 and others added 28 commits December 23, 2022 13:16
Proposing a minor grammatical correction on the useEffect API documentation page for triggering an animation example section.
The section under consideration 'Removing unnecessary function dependencies' should use the text 'createOptions function' instead of 'options object' to match the given example correctly.
The 'options object' text is being used correctly for the previous section which talks about 'Removing unnecessary object dependencies' however, it must be updated for this section.
The serverUrl variable should be moved inside the component and can be stored as a state to indicate that it's a reactive variable and will be highlighted as such by the linter. Previously the serverUrl variable was stored outside the component function body thus making it a non-reactive value and so it shouldn't have been highlighted by the linter as a useEffect dependency as shown in the concerned example.
* <input>

* Fix typo

* tweak

* separate props

* reword

* typos

* compress

* tweaks

* Add more

* more

* shorter

* twk

* more readable

* fix

* oops

* oops

* <textarea>

* <progress>

* <select>, <progress>

* upd

* <option>

* wip common

* wip

* more

* Fix onSelect desc

* index

* stub events

* events

* twk

* all events
* Copy over tutorial from old website

Fixed up MDX syntax (self-closing `<br>` and `<img>`, and one `style`
attribute)

* wip

* more wip

* Move tutorial to be consistent with new beta docs structure

* remove HTML comments causing Vercel rendering issues

* Fixed all fixme's, minor clarity improvments, updated code links to codesandbox

* first half of tutorial re-write draft

* Finish tutorial rewrite draft

* Fix some formatting issues

* Migrate tutorial back to JavaScript to fix Sandpack errors

* Fix minor mistakes, formatting, code bugs, clean up images

* Fix empty board image size

* Fix image size and code highlighting issues

* Incorporate feedback from Dan and Sean

* edits (wip)

* edit

* edits

* Update beta/src/content/learn/tutorial-tic-tac-toe.md

Co-authored-by: Strek <[email protected]>

* tweak

Co-authored-by: Sophie Alpert <[email protected]>
Co-authored-by: Dan Abramov <[email protected]>
Co-authored-by: Strek <[email protected]>
* [Beta] Move Reference before Usage

* above -> below
* [Beta] APIs -> Reference

* oops
use name instead of title as in the data provided
Adding a minor grammatical correction to the useImperativeHandle hook API reference markdown page.
[Suspense](https://beta.reactjs.org/reference/react/Suspense) page has header
 `<Suspense>` lets you displays a fallback until its children have finished loading.
Which should have been:
`<Suspense>` lets you display a fallback until its children have finished loading.
Fixing a minor grammatical correction/typo on the beta docs useImperativeHandle API reference page.
Could not find any usage of `create-root` in the docs. 
This makes existing links effectively 404 with regards to the anchor but this is a beta after all.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.