Commit Graph

1078 Commits

Author SHA1 Message Date
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
Corentin Smith
9b8dee54f2 Remove reference to babel-polyfill (#3381) 2020-11-12 13:16:20 +01:00
krizinx
ab2e95f0ce Update faq-ajax.md (#3363)
Changed item.name in key property to item.id
2020-11-02 13:01:54 -08:00
Scott Siegel
8e4b0bca81 Fix missing "in" typo (#3359) 2020-10-31 16:04:29 +03:00
Jhon Mike
18ac8f7197 minor adjustments to the documentation (#3354) 2020-10-28 11:17:34 +03:00
Dan Abramov
1d40cf0ac9 Remove broken Glitch template (#3350)
This is

1) using real CRA unnecessarily despite being in the browser so is slow to boot
2) shows "error" immediately to me and doesn't load
3) doesn't seem to get updated with newer React releases

We can readd it if it's fixed and doesn't have these problems (which none of the other templates do).
2020-10-26 18:20:00 +00:00
Sam Bigelow
21fe4c829b Fix a grammatical error in Context.md (#3352) 2020-10-26 16:40:37 +01:00
Dan Abramov
6682068641 Tweak event delegation notes 2020-10-23 22:59:13 +01:00
Dan Abramov
16a03c0c60 Add note about onScroll in 17 2020-10-23 22:55:31 +01:00
Dylan Pierce
4a62c0ab77 More docs onFocus and onBlur events (#3044)
* More docs onFocus and onBlur events

Including more substantial documentation around the `onFocus` and `onBlur` events that aren't so common sense on first look.

* Update content/docs/reference-events.md

Co-authored-by: Darsh Shah <imdarshshah@gmail.com>

* Update reference-events.md

Adding an example of `relatedTarget` to determine orgin of onblur or onfocus events

* Update reference-events.md

* Update content/docs/reference-events.md

Fixing `onBlur` example bug.

Co-authored-by: Darsh Shah <imdarshshah@gmail.com>

* Update reference-events.md

Fixing spacing in `onBlur` `onFocus` examples and tagging them with `javascript`

* Update reference-events.md

* Update reference-events.md

* Update reference-events.md

Co-authored-by: Darsh Shah <imdarshshah@gmail.com>
Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
2020-10-23 22:54:07 +01:00
Dan Abramov
02d17e4217 Update more docs to 17 (#3345) 2020-10-23 21:21:14 +01:00
Toru Kobayashi
64d067f2c0 Remove event pooling and SyntheticEvent#persist from documents (#3207)
* remove event pooling and SyntheticEvent#persist from documents

Syntheticevent#event exists in v17, but it does nothing at the version

* add a page for legacy event pooling for _redirects

* add a warning e.persist() is no longer pooled

* Update legacy-event-pooling.md

* docs: update a redirect link for event pooling

* Update legacy-event-pooling.md

* Update legacy-event-pooling.md

* Update reference-events.md

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
2020-10-23 21:14:24 +01:00
Ezio Tedeschi
8c2865e3ab fix(content/docs): Fix broken link (#3329)
Change broken link in documentation for Babel editors.
2020-10-14 11:46:12 +02:00
Kiriakos Naiskes
d50460490f Fix ajax hooks example (#3322) 2020-10-13 12:10:49 -07:00
Alexey Pyltsyn
371156e9c3 Remove line breaks to simplify syncs 2020-10-13 10:32:30 +03:00
Theodore Chu
845338012c Update design-principles.md (#3314)
Updated link to React Devtools package repository
2020-10-08 10:08:59 +02:00