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

Sync with reactjs.org @ 4b685084 #220

Open
wants to merge 1,174 commits into
base: main
Choose a base branch
from
Open

Conversation

gaearon and others added 30 commits September 13, 2022 01:49
…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
gaearon and others added 29 commits December 16, 2022 02:31
* [Beta] useLayoutEffect API

* more

* tweak

* bla
* [Beta] useEvent -> useEffectEvent

* tweak
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
@vercel
Copy link

vercel bot commented Dec 26, 2022

Deployment failed with the following error:

Invalid vercel.json file provided

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.