Commit Graph

926 Commits

Author SHA1 Message Date
numb86
4fae9e8905 Fix internal link (#2668) 2020-02-03 14:53:12 -08:00
Nicolas Gallagher
a79f91124f Update docs on how to contribute (#2696)
* Remove outdated content.
* Add JDK installation requirement
2020-01-21 13:38:45 -08:00
yoeldovidcohen
c8aef5dc0d Got this warning when using the former version (#2693)
The --typescript option has been deprecated and will be removed in a future release.
In future, please use --template typescript.
2020-01-20 18:41:14 +03:00
Dan Green
d7e9a52d7d Updated strict-mode docs to use UNSAFE_* lifecycle method names (#2683)
* Updated strict-mode docs to use UNSAFE_ method names

The strict mode docs still reference the old `componentWill*` lifecycle method names, this updates them to be `UNSAFE_componentWill*`

* Tweaked docs to mention both unsafe lifecycle names

Co-authored-by: Brian Vaughn <brian.david.vaughn@gmail.com>
2020-01-16 09:21:09 -08:00
Christoph Nakazawa
aa8f663693 Change very visible to noticeably (#2679)
I believe the text in this paragraph is meant to say `visibly` but that alone is not expressive enough so `very` was added in front. I believe the correct unambiguous word to use here should be `noticeably`.

cc @gaearon
2020-01-15 11:55:05 +00:00
Rasmus Nilsson
3f64033e6e Fix grammar (#2676) 2020-01-14 14:29:56 -08:00
David Cho-Lerat
99a18287c1 Update testing-environments.md (#2665)
Remove extraneous "both"
2020-01-11 21:09:23 -08:00
Ben Schwarz
dedacfbc53 Updated URL to react performance article (#2670) 2020-01-11 21:06:31 -08:00
numb86
1e4159d11d Fix sample test code (#2648) 2020-01-06 14:15:33 -10:00
Evrim Persembe
24ebabd01e Update "Refs and the DOM" documentation (#2657)
* Update "Refs and the DOM" documentation

As function components can now have state through hooks, remove the part that mentions converting a function component to a class component to be able to use state.

* Update refs-and-the-dom.md

Co-authored-by: Sophie Alpert <git@sophiebits.com>
2020-01-06 14:11:05 -10:00
Vinoth Kumar
071f5b0e16 Update introducing-jsx.md (#2660)
* Update introducing-jsx.md

* Fix formatting

Co-authored-by: Sophie Alpert <git@sophiebits.com>
2020-01-05 19:38:47 -10:00
Vinoth Kumar
f2cffb8ca4 Link is not working (Domain expried) (#2636) 2020-01-05 16:25:11 -10:00
Anthony Valera
fc0e690b4e Changes variable declarations in code examples (#2345)
Converts a few `let` declarations for constant values to `const` in code examples
2020-01-03 01:53:52 +03:00
Sophie Alpert
6788666b0d Make link text for toolchain setup clearer
Fixes #2437.
2020-01-01 08:53:11 -08:00
Sophie Alpert
1e4023ed7d Add note about skipped updates with noop setState
Fixes #2599.
2020-01-01 08:40:36 -08:00
Sophie Alpert
f2920cc67b Amend DOM measurement hooks example to be clear about shortcomings
Fixes #2556.
2020-01-01 08:32:01 -08:00
Gergely Pap
4908a2f577 Update hooks-rules.md (#2647)
Updated information on ESLint plugin being included in Create React App.
2020-01-01 18:06:31 +03:00
jarstelfox
f90d199a61 Memo: Document behavior with useContext (#2332)
* Memo: Document behavior with useContext

It is not obvious that useContext and Memo work well together. Namely, if a child component listens to a context and updates out from under them memo'd function, does the memo'd component have the right state if re-rendered?

yes, actually. but this is undocumented. Now it's not!

* fix typo tigger -> trigger

* Add more detail to all relevant pages

Co-authored-by: Alex Krolick <alexkrolick@users.noreply.github.com>
Co-authored-by: Sophie Alpert <git@sophiebits.com>
2019-12-31 13:51:08 -08:00
Toru Kobayashi
5b6ad38880 prefer https to http for links (#2643) 2019-12-28 01:38:55 +03:00
tcope25
bc8e1986d4 Fix broken link (#2642)
The site doesn't load so it's best to link to the updated Github repo.
2019-12-28 01:38:39 +03:00
Amit Merchant
c908d00fea Improved grammer. (#2635)
* Update handling-events.md

* Update handling-events.md
2019-12-24 07:04:31 -08:00
numb86
1dd4e325f0 Fix fragment identifier (#2634) 2019-12-22 00:44:50 +03:00
numb86
6e3fa6ae78 Fix fragment identifier (#2619) 2019-12-19 19:51:02 +03:00
Bartosz Kaszubowski
1b0fb08310 Fix React events package link in Codebase Overview (#2618) 2019-12-19 19:46:12 +03:00
shixiaomiaomiao
8af118139e Update testing-recipes.md (#2616) 2019-12-18 11:19:58 -08:00
Jake Hedman
401b97e959 Add missing whitespace (#2610) 2019-12-16 09:53:23 +03:00
Dan Abramov
4ee28772a8 Remove unmaintained project (#2606) 2019-12-11 17:24:16 +00:00
Greg Bergé
4ada2dee0e Update Loadable Components urls (#2602) 2019-12-10 01:19:48 +03:00
Minh Nguyen
665a9fde42 Fix typo in Suspense for Data Fetching (#2605) 2019-12-10 01:16:53 +03:00
Gregor Adams
32a5db034b docs: Unify identifiers in "useImperativeHandle" example (#2590)
The example was using `inputRef` while the description used `fancyInputRef`. This was irritating.
2019-11-26 23:44:34 +03:00
Keyan Zhang
9d878b4434 Link to docs from the Concurrent Mode feature comparison table (#2550)
* Link to docs from the Concurrent Mode feature comparison table

* feedback

* Update concurrent-mode-adoption.md


Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2019-11-25 12:26:53 +03:00
Josh Kramer
05206d70c9 Remove dynamic import proposal text (#2564)
Dynamic imports have reached stage 4 and are now part of ECMAScript.
2019-11-25 12:18:53 +03:00
Ivaylo Kirov
3794c8a505 Update accessibility.md (#2579)
Fixed a small typo.
2019-11-20 11:08:48 -08:00
Dan
72775e97f9 Make the experimental notice scarier 2019-11-17 13:00:09 +00:00
Tigran Matsakyan
bbea522119 fix code style in concurrent-mode-reference.md (#2553) 2019-11-11 13:21:35 +03:00
Nicolas
4f57bfda38 Wrong link to Profiling components article (#2552)
Recommended article link, written by Ben Schwarz, returns a 404. Updated with correct link.
2019-11-09 23:47:37 +03:00
Dan
5a691e9f0e Link to blog post 2019-11-09 20:18:55 +00:00
Dan Abramov
3c5e2bd1ed Suspense: Start Fetching Early (#2551) 2019-11-09 20:10:45 +00:00
Joseph Savona
ee8a5ec783 Blog post (#2538)
Blog post: Building Great User Experiences with Concurrent Mode and Suspense
2019-11-06 11:26:42 -08:00
David Cho-Lerat
9fdcbc2edf Fix small typo in concurrent-mode-suspense.md (#2529)
"for a small period time" => "for a small period of time"
2019-11-04 15:54:55 +03:00
Mark Allen
081bb31226 Fix typo in concurrent-mode-patterns.md (#2507)
s/MyShowList/MySlowList

Updated to reflect actual component name in example: `<MySlowList text={text} />`
2019-10-28 13:11:02 +03:00
Jhon Mike
18327d46c5 Formateed react-v16.9.0 post (#2501)
* format post react-v16.9.0

* running yarn check-all
2019-10-27 11:30:03 +03:00
Alexey Pyltsyn
fab0b46659 Update concurrent-mode-reference.md 2019-10-26 23:11:28 +03:00
hirofumi i
3159be9938 Fix typo on concurrent mode api (#2498) 2019-10-26 23:10:30 +03:00
Jonathan Bouchard
cf578f822b Missing highlighted line in concurrent mode patterns example (#2490) 2019-10-26 00:50:05 +03:00
Bruno Bonamin
2231a7c4ef Fix doc referencing incorrect variable details (#2487)
The variable name that's loading is called `user`
2019-10-25 14:28:52 +03:00
SToneX
85079f4fa0 Fix createblockingroot link in concurrent-mode-reference.md (#2485)
Fix #createblockingroot link
2019-10-25 14:05:09 +03:00
Glenn Reyes
906378767e Add missing verb (#2483) 2019-10-25 12:48:23 +03:00
David Khourshid
f415af7327 Update concurrent-mode-patterns.md (#2482)
Fix typo: `timeout:` to `timeoutMs:`
2019-10-25 12:11:18 +03:00
Joe Hoyle
a57f347ca9 Add "the" in "In long term" (#2481) 2019-10-25 12:06:09 +03:00