Commit Graph

670 Commits

Author SHA1 Message Date
Dan Abramov
dd366edd95 Rm dead redirects 2023-01-24 02:55:20 +00:00
dan
a260e0e227 [Beta] Community (#5494) 2023-01-24 01:44:34 +00:00
dan
7425ccff6f [Beta] Blog MVP (#5493)
* Remove old blog entries

* Blog MVP

* TS
2023-01-24 00:51:49 +00:00
dan
c9e2e39940 [Beta] Refactor navigation logic (#5492)
* Pass route lists explicitly

* Inline MarkdownPage into Page

* Pass breadcrumbs from above

* Remove state from router utils

* Pass section from above
2023-01-23 22:59:55 +00:00
Kostiantyn Shyrolapov
38bf76a4a7 Update broken link in "Synchronizing with effects" (#5461)
Update link to TanStack Query
2023-01-15 17:59:54 +01:00
lauren
905b36798b Update poteto description (#5462)
oxford commas are good actually
2023-01-15 01:20:55 -05:00
dan
09f0da6551 typo 2023-01-10 01:10:51 +00:00
dan
ddd3c7e2a7 typo 2023-01-10 01:09:27 +00:00
Dominic
1d918b9488 fix link (#5449) 2023-01-09 13:11:25 +05:30
Ilya
3ff6fe871c Fix typos in Suspense.md, useDeferredValue.md & useTransition.md (#5450)
* Fix typo

* Fix useDeferredValue & useTransition typos
2023-01-09 00:51:13 +05:30
dependabot[bot]
52b2d7d445 Bump json5 from 1.0.1 to 1.0.2 in /beta (#5446)
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-08 11:14:03 +05:30
Uladzislau Hramyka
b4ae933648 Add missing X in starter Square component (#5445)
This change adds missing "X" character for starter Square component showcase in "Overview" section
2023-01-08 01:27:29 +05:30
dan
05bf01d0ae [Beta] Add missing imports to ref pages (#5442)
* [Beta] Add missing imports to ref pages

* Fix spaces
2023-01-06 18:38:09 +00:00
chiranjib
44390cd930 Fix for ReactDOM.createRoot() example (#5437)
* Fix for ReactDOM.createRoot() example

* Update createRoot.md

Co-authored-by: dan <dan.abramov@gmail.com>
2023-01-06 18:16:44 +00:00
Sophie Alpert
eefa33a828 Fix typo in tutorial 2023-01-05 15:42:01 -08:00
Dan Abramov
e8a64f67a3 Fix link 2023-01-05 21:45:55 +00:00
Branimir Rijavec
46b5a69d72 Fix typo in tutorial-tic-tac-toe.md (#5438) 2023-01-05 20:12:46 +00:00
derrekcoleman
0eba7f671e Fix typo in tutorial-tic-tac-toe.md (#5436) 2023-01-05 11:34:22 +01:00
Sebastian Silbermann
e77ba1e903 [beta] Fix inconsistent anchor link on flushSync page (#5429)
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.
2023-01-01 16:17:19 +01:00
Pascal Fong Kye
9cd0db0a40 fix(typo): add missing closing character (#5415) 2022-12-29 11:12:48 +01:00
dan
f741a42bac Fix #5412 2022-12-29 01:48:34 +00:00
Dominic
33c4d58f99 Fix 404 for json file (#5403) 2022-12-29 01:41:18 +00:00
Rahul Rao
c7efb5ccf0 Minor grammatical correction (#5407)
Fixing a minor grammatical correction/typo on the beta docs useImperativeHandle API reference page.
2022-12-29 01:39:37 +00:00
Sagar Acharya
afb7d7ab2f Fixes a typo (#5411)
[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.
2022-12-29 01:38:29 +00:00
Filipe Névola
bcf7759402 [Beta] Fixes typo in editor-setup page (#5413) 2022-12-28 16:45:15 +00:00
Rahul Rao
2a3bcb6c00 Minor grammatical correction (#5406)
Adding a minor grammatical correction to the useImperativeHandle hook API reference markdown page.
2022-12-27 12:20:38 +05:30
Travis Potter
45e4b521cd Fixed property "value" typo'd as "values" (#5404) 2022-12-27 01:12:38 +00:00
dan
ddde7e8fdc [Beta] Sidebar groups (#5402) 2022-12-26 12:43:49 +00:00
Pascal Fong Kye
20252cbb57 fix(typos): some small typos (#5401)
use name instead of title as in the data provided
2022-12-26 12:42:40 +00:00
Dan Abramov
4b68508440 [Beta] Misc edits 2022-12-25 22:08:19 +00:00
Dan Abramov
8d51b16431 [Beta] Remove some duplicated banners 2022-12-25 21:45:54 +00:00
Dan Abramov
3473846631 Fix above/below 2022-12-25 21:06:35 +00:00
Dan Abramov
88e689ef16 Always link to Usage for consistency 2022-12-25 21:05:39 +00:00
dan
c79307666b [Beta] APIs -> Reference (#5400)
* [Beta] APIs -> Reference

* oops
2022-12-25 21:01:34 +00:00
dan
147bab9196 [Beta] Move Reference before Usage (#5399)
* [Beta] Move Reference before Usage

* above -> below
2022-12-25 20:30:20 +00:00
dan
bd9f3ea2cd Typo 2022-12-24 13:54:54 +00:00
Dan Abramov
302fb7af9d Bump the numbers 2022-12-24 13:25:41 +00:00
Matt Carroll
81b5f81f29 [beta] Tic-tac-toe tutorial rewrite (#5352)
* 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 <ssharishkumar@gmail.com>

* tweak

Co-authored-by: Sophie Alpert <git@sophiebits.com>
Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
Co-authored-by: Strek <ssharishkumar@gmail.com>
2022-12-24 13:23:58 +00:00
Dan Abramov
e2a0f2ebfb [Beta] Remove TOC from short pages 2022-12-24 00:37:20 +00:00
dan
d981e00db8 [Beta] react-dom: Components (#5383)
* <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
2022-12-24 00:31:41 +00:00
Rahul Rao
167603a7ba Making serverUrl a reactive dependency for the provided example. (#5392)
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.
2022-12-24 00:29:34 +00:00
Rahul Rao
dc4d82b871 Change 'options object' to 'createOptions function' (#5394)
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.
2022-12-24 00:27:52 +00:00
Dan Abramov
39b9599114 Remove stale RFC link 2022-12-23 17:17:08 +00:00
Rahul Rao
ff226557f2 Adding a minor grammatical correction. (#5388)
Proposing a minor grammatical correction on the useEffect API documentation page for triggering an animation example section.
2022-12-23 13:16:23 +01:00
dan
966b7b849f [Beta] Move search outside tabs (#5389) 2022-12-20 20:40:03 +02:00
dan
868d525a74 Update index.md 2022-12-17 16:27:58 +00:00
Dan Abramov
6faa4f51d5 Add missing patch for #5368 2022-12-17 14:58:55 +00:00
dan
5385031b46 [Beta] Fix scroll jumps on navigating to fragments (#5375) 2022-12-17 14:14:54 +00:00
Dan Abramov
c4d2a6da45 [Beta] Reorder example 2022-12-17 04:10:59 +00:00
Dan Abramov
d542994fc2 Typo 2022-12-16 23:45:25 +00:00