Commit Graph

1093 Commits

Author SHA1 Message Date
Brian Vaughn
17eae3952d Fix "master" to "main" renaming mistakes (#3770) 2021-07-06 20:46:10 -04:00
Brian Vaughn
620d360621 Updated master -> main references (#3769) 2021-07-06 14:17:34 -04:00
Patrick Ecker
0bb0303fb7 Update Static Typing Section (Reason -> ReScript) (#3766)
* Update Static Typing (Reason -> ReScript)

ReasonML & BuckleScript have converged into the ReScript brand.
Updates the description and urls within the `static-type-checking` section.

* Update content/docs/static-type-checking.md
2021-07-05 12:10:39 +02:00
Tom Lafford
2da06a71ec Fix broken Props vs State link (#3765) 2021-07-04 10:31:07 +02:00
Gabriel Henrique Kuhn
1a4e21a5b7 Fix broken link in the web-components.md file (#3761) 2021-07-01 21:47:25 +02:00
Brian Vaughn
d456dfbd29 Update docs and config to replace "master" with "main" branch
https://github.com/facebook/react/issues/21767
2021-06-29 13:35:55 -04:00
Alexey Pyltsyn
25f756d8e3 Update outdated link on Static Type Checking page 2021-06-26 22:21:08 +03:00
Brian Vaughn
d47476312d Updated next/experimental release version docs (#3748)
To account for changes made in PR facebook/react/pull/21700
2021-06-23 14:44:37 -04:00
Sam Chillcott
07e58b4b5f Fix typo in optimizing-performance (#3746)
Remove spelling error from "recommended" to "recommend".
2021-06-22 11:30:11 +02:00
Andrew Clark
7b0aecbe6d New post: The Plan for React 18 (#3729)
* New post: The Plan for React 18

* Mark CM docs as stale

* Update content/blog/2021-06-08-the-plan-for-react-18.md

Co-authored-by: Ricky <rickhanlonii@gmail.com>

* Simplify

Co-authored-by: Dan Abramov <dan.abramov@me.com>
Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
Co-authored-by: Ricky <rickhanlonii@gmail.com>
2021-06-08 10:25:54 -07:00
Luke Ingalls
68e4efcf93 Added missing comma and removed a few redundant words (#3725) 2021-06-07 12:18:45 +02:00
tfrank11
ff68780a27 Fixed typo inside concurrent-mode-reference.md (#3716) 2021-05-31 20:26:53 +02:00
Andrea Tupini
6618bcc734 Fix broken link to devtools (#3715) 2021-05-31 17:53:56 +02:00
CodeChari
ec2d0adcb4 Updating name of variable to which returned value of setState is assigned (#3701)
in CodePen it is 'prevState' and in the tutorial, it is 'state', which creates confusion.
2021-05-28 08:21:10 +02:00
Dan Abramov
91cfb4e72c Change example to use a <form> (#3697) 2021-05-25 14:56:48 +01:00
Asher Oloo
e60bca04f3 Fixed a minor typo in a comment (#3685) 2021-05-21 08:55:32 +02:00
Marisha Parker
12b08e47bf Update addons-test-utils.md (#3660)
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
2021-05-14 14:48:48 +02:00
m019m1
5119600cf6 Include where setState is comming from (#3652)
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
2021-04-22 11:53:02 +02:00
danield770
8251eabd38 lifecycle -> lifecycle method (#3650) 2021-04-22 11:19:27 +02:00
Bryn Dyment
420c397483 Update code-splitting.md (setup → set up) (#3643)
(`setup` is the noun form and `set up` is the verb form.)
2021-04-20 09:26:24 +02:00
Brian Vaughn
8e0ed8f899 Removed createBlockingRoot API docs and added a warning note (#3642) 2021-04-19 17:01:37 -04:00
Yuxiang Yang
968f091595 update Optimizing Performance section (#3605) (#3623)
Co-authored-by: Ethan Yang <yuxaing.yang@amh-group.com>
2021-04-12 08:46:51 +02:00
ilovepullrequests
c9efa5e266 Correct grammar (#3608)
Change 'was' to 'were'.
2021-04-05 11:29:48 +02:00
vikram menon
c970f75a0a Fix 404 broken link for createFragmentContainer (#3598) 2021-03-26 19:30:18 +00:00
Pradip
8aee286cc8 Testing Recipes - Timers: call useFakeTimers/userRealTimers before/after each test (#3591) 2021-03-23 09:59:26 +01:00
Juno Tesoro
df2fbde3b5 Fix typos in error-boundaries.md (#3586)
Add missing "how" and "an"
2021-03-22 09:46:44 +01:00
William Wong
54a331d7ef Mention useReducer as a cause of rerender in React.memo (#3576) 2021-03-12 13:38:34 +01:00
Ty Mick
364c661385 Clarify the definition of "inside conditions" (#3542)
* Clarify the definition of "inside conditions"

* Make clarification more concise

Co-authored-by: Ricky <rickhanlonii@gmail.com>

* Remove accidental extra period

Co-authored-by: Ricky <rickhanlonii@gmail.com>
2021-02-27 00:18:00 -05:00
Eric Tsai
f73dcf1b88 Updated paths to UMD builds for React and React-DOM in 'How to Contribute' page (#3523) 2021-02-22 23:55:15 -05:00
Sean Moriarity
47e444a4e9 Increase clarity of Context documentation (#3527) 2021-02-16 12:04:40 +01:00
Yuki Takemoto
e89273e29d Update node version of create-react-app (#3522) 2021-02-14 17:44:42 +03:00
DaniBedz
ef85b1b0fd Update typechecking-with-proptypes.md (#3513)
Typo: "allow PropTypes to be proper applied" => "allow PropTypes to be properly applied"
2021-02-09 09:33:46 +01:00
Lakshmi Narasimhulu Gujjula
ea0711ec61 Fix broken link in how-to-contribute (#3508) 2021-02-04 11:29:43 +01:00
Sarang Kartikey
7b8a9cc67d added react/jsx in development flow steps for building react (#3505)
Co-authored-by: Sarang Kartikey <sarangkartikey@sarangkartikey.local>
2021-02-02 12:35:41 +01:00
Dylan Westerhold
3844da103d Changed yarn test-prod to yarn test --prod in contributing guide (#3491) 2021-01-17 18:07:18 +01:00
Rami Sabbagh
532de4fea2 Highlight all modified lines in the React forms example (#3486)
The change at line 21 was not highlighted, which has been modified with the `handleSubmit` handler added.
2021-01-13 13:32:58 +01:00
Amen SOUISSI
82b8c9f2ab remove componentWillMount/WillReceiveProps (#3475) 2021-01-06 20:43:40 +01:00
George Bradley
923629258f first issue: add missing comma (#3452)
Co-authored-by: gbradleypro <gbradleypro@gmail.com>
Co-authored-by: eps1lon <silbermann.sebastian@gmail.com>
2020-12-17 21:59:44 +01:00
Daniel O’Connor
4fc709d057 Add React 17 release date to versioning policy (#3428) 2020-12-05 21:21:05 +01:00
Luckner
c8d19412dd Fix typo in Introducing JSX snippet (#3417) (#3418) 2020-12-04 17:15:37 +03:00
joan xie
e9da0fa160 Update strict-mode.md (#3426)
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
2020-12-04 01:52:19 +01:00
Edward
5e437a10ed Change tabIndex to match the types (string to number) (#3409)
Co-authored-by: Edward Baggott <edward.baggott@shellenergy.co.uk>
2020-11-30 13:13:31 +03:00
Renato Alves
446ba517d7 Add PropType instructions for function components (#3403)
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
2020-11-25 10:20:47 +01:00
Nathan Novielli
28e7b103a5 Update the broken links in the Overview section (#3394) 2020-11-19 19:53:21 +01:00
Yuqing Chen
b2363564ab fix: typo (#3388) 2020-11-18 20:45:16 +01:00
Abhishek Jain
957276e1e9 Update typechecking-with-proptypes.md with a minor addition (#3386) 2020-11-16 12:01:39 +01:00
zytjs
fc6e864f1d Update legacy-event-pooling.md (#3380) 2020-11-16 11:50:53 +01:00
Federico Zivolo
eafba20b3d docs: document prod vs dev behavior difference in componentDidCatch (#2168) 2020-11-14 13:26:15 +01:00
MohammadReza
f595f22c72 Added reconciliation link. (#2614)
Co-authored-by: Sunil Pai <threepointone@oculus.com>
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
2020-11-12 20:10:12 +01:00
Wojciech Golaszewski
a9239a586e More explicit docs about uncontrolled forms. (#3382) 2020-11-12 13:18:19 +01:00