Commit Graph

6160 Commits

Author SHA1 Message Date
dan
b9ffa56d4d Move redirects to legacy site config (#5936) 2023-04-18 17:12:30 +01:00
dan
a35b64cb33 Add <meta> tags for translations (#5930)
* Add site config with domain name

* Add <meta> tags for languages

* Move legacy redirect out of vercel config

This lets us give it a more specific subdomain per lang.

* Support sites with no legacy

* Fix types

* Undo unrelated change
2023-04-18 03:47:43 +01:00
Mike North
6c096e0843 Add React Rally (#5929) 2023-04-18 00:28:05 +01:00
Evren
543c7a0dca Cancel double path check and remove unused props (#5925) 2023-04-15 23:50:53 +05:30
이동현
b9c64418b8 Fix link in Component.md (#5923) 2023-04-15 00:33:13 +01:00
Dan Abramov
c2a97d0318 Fix link 2023-04-14 16:29:54 +01:00
이동현
b7672ef3c4 Fix invalid link (#5906) 2023-04-12 19:34:36 -07:00
terlankes
84c44be3ff Fix minor argument mistake (#5901) 2023-04-12 19:33:19 -07:00
Joshua
3119dd4fd8 Fix minor grammar mistakes (#5900)
* Fix minor grammar mistakes

* Apply suggestions from code review

---------

Co-authored-by: Sophie Alpert <git@sophiebits.com>
2023-04-12 19:29:03 -07:00
Strek
c85ce70d15 fix: url (#5874)
* fix: url

* fix: check if it works

* fix

* fix

* use legacy link

* chore: add to vercel.json
2023-04-12 17:59:16 +01:00
Serhii Palamarchuk
fd67629b7c Legacy API, Component: fix href for getDerivedStateFromProps (#5908)
* Legacy API, Component: fix href for getDerivedStateFromProps

* Legacy API, Component: fix href for getDerivedStateFromProps
2023-04-12 17:58:38 +01:00
Namnika
54c1df178b Update common.md (#5914)
Fix: typo in "Animation Event Handler function" example
2023-04-12 17:15:42 +01:00
dan
cdc9917863 Update forked sandbox template to react-scripts@5 (#5899) 2023-04-08 18:28:47 +01:00
J
61f35c558c fix: remove unnecessary useState in code examples (#5879)
Update referencing-values-with-refs.md
2023-04-06 19:45:56 -07:00
Luke Childs
84810c5157 Fix typo (#5890) 2023-04-07 01:04:15 +01:00
이동현
c9d0cbfccd Add space in import (#5889) 2023-04-06 14:43:21 +01:00
Lukas Volk
a76a5984ec Fix runtime error in image gallery useState example (#5877) 2023-04-06 14:42:18 +01:00
Joshua
d58ca812f7 Fix improper idiom usage (#5883)
* Fix casing for consistency

There's 5 instances in this document in which the casing of a file name
begins with lower case, which makes it inconsisnent both with the page
and the entire tutorial.

* Fix improper idiom usage

The phrase "most of the times" is incorrect and would only make sense
in the context of a larger sentence. The phrase is actually "most of the
time" and is used in place of "usually".
2023-04-06 14:26:32 +01:00
Aleksandar15
afffd7f05f Fixed a wrong state name in explanation; renamed state name to follow naming convention (#5886) 2023-04-06 14:23:38 +01:00
Pradeep Thakur
f681f76698 Clarify a code snippet is incomplete (#5888)
* matched the curly braces #issues5887

Added matched the curly braces on the official website tutorial. #issues5887

* Update index.md

---------

Co-authored-by: dan <dan.abramov@gmail.com>
2023-04-06 14:22:24 +01:00
Simon Lieschke
d9922dbef8 Fix broken links in useReducer documentation (#5882) 2023-04-05 19:12:55 +01:00
Joshua
b19af544db Fix casing for consistency (#5881)
There's 5 instances in this document in which the casing of a file name
begins with lower case, which makes it inconsisnent both with the page
and the entire tutorial.
2023-04-05 18:32:41 +01:00
Dan Abramov
4d2dbadd81 Update search API key 2023-04-04 15:19:45 +01:00
퉁이리
d818391e6f docs: add-missing-space-in-unmount-component-at-node (#5875) 2023-04-03 23:53:24 +01:00
이동현
052126d09e Fix small typo (#5865) 2023-04-03 19:49:12 +01:00
Kalyan Vedala
a905bc527a Use opening fragment instead of div (#5872) 2023-04-03 23:38:38 +05:30
dan
f37ef36b07 Clarify tutorial 2023-04-01 20:20:20 +01:00
dan
5273fe2a9a Add <meta> tag for search order (#5859) 2023-04-01 20:07:23 +01:00
Sophie Alpert
9f0f1c1ebf Fix typo in updating-arrays-in-state.md
Thanks to Alex H for reporting.
2023-03-31 16:27:35 -07:00
lxmarinkovic
8f05b84ac4 Adding Conference - Chain React 2023 - Portland, USA (#5852)
* adding-chain-reaction-2023-conference

* adding-chain-reaction-2023-conference
2023-03-31 22:56:48 +01:00
Dan Lebo
881f928f87 improve visibility of code 2023-03-29 22:01:20 -07:00
dan
6b22284eb3 Add more fonts (#5841)
* Use regular font for body text

* Use primary text color for content area

* Keep medium font for nav

* Add italics

* Hook up more fonts
2023-03-30 00:39:37 +01:00
Dan Abramov
faa395f25c Add missing fonts 2023-03-29 23:56:21 +01:00
Dan Abramov
7f296c6bb0 Change URLs for fonts 2023-03-29 23:50:59 +01:00
Dan Abramov
5e1ec56701 Download all fonts 2023-03-29 22:54:03 +01:00
Luna
81c91bcad5 Add additional thanks to React Labs post (#5843) 2023-03-29 21:38:39 +01:00
Ruchita
53f6bb709b docs: fix typos in Component section of Legacy APIs (#5842) 2023-03-30 00:21:15 +05:30
lijianan
7f7308c85e chore: use default parameters replace defaultProps (#5839) 2023-03-29 13:58:36 +01:00
Jasper De Moor
d1ce846f44 chore: update bundlerUrl (#5835) 2023-03-28 17:36:34 +01:00
Delba de Oliveira
401ca1a65c Docs: Update sentence about Next.js static export (#5837)
* Update sentence about static export

Support for static exports will be available in v13.3 (coming soon)

* Add also*
2023-03-28 16:01:35 +01:00
이동현
e5fd79cdbb Fix typo: missing reactNode in hydrateRoot.md (#5827) 2023-03-26 21:33:10 +02:00
Aliaksandr
e18bb3b257 Add useState semicolon (#5823) 2023-03-25 21:37:26 +01:00
Tristan
f68a91bb7e Remove superfluous word 'like' (#5813)
'Your Effect would look like similar to this' -> 'Your Effect would look similar to this'
2023-03-24 18:30:00 +00:00
Abhinav Mahajan
9f89fff57c Resolved the Tailwind CSS conflicts (#5814)
* Resolved the CSS conflict

* Resolved the CSS conflicts in other files
2023-03-24 17:55:07 +00:00
Pascal Fong Kye
8a12d3352d fix(docs): small typos (#5787) 2023-03-23 18:45:23 -07:00
Jason Bonta
7f04124154 Update "top level" language to be less ambiguous with "levelContext" (#5807)
We use "top level" all over the docs, but this specific topic uses a different meaning of "level". If you're learning about passing context across multiple "levels" of components, this is actually pretty confusing and makes you think you can only useContext at, for example, the top level of your app.
2023-03-23 17:55:41 +00:00
Efrice
4b313b9755 chore: update tutorial-tic-tac-toe.md (#5802) 2023-03-23 15:58:42 +00:00
Leedom
72dfcec824 chore: update the link of LICENSE-DOCS.md (#5799) 2023-03-23 15:57:47 +00:00
이동현
ccc8d1d44f Remove import React for consistency (#5804) 2023-03-23 15:57:32 +00:00
Vivek
2f8bd3019e added missing roomId prop to useEffect docs (#5803) 2023-03-23 15:57:11 +00:00