Commit Graph

876 Commits

Author SHA1 Message Date
Alexey Pyltsyn
cd91e9d40d Fix typo 2019-10-24 23:15:20 +03:00
Ludwig Bäcklund
1189e19baa Fix typo in concurrent-mode-patterns.md (#2478) 2019-10-24 23:06:24 +03:00
Thomas Gassmann
a89650a7fa Close missing suspense tags in documentation for concurrent UI… (#2475) 2019-10-24 23:05:21 +03:00
Matt Wood
43d8e5fb7f Fix minor typo in concurrent mode reference docs (#2473) 2019-10-24 23:01:51 +03:00
Matt Wood
2e70fb5457 Fix minor typo in concurrent mode adoption docs (#2472) 2019-10-24 23:01:04 +03:00
Jakub Biesiada
ad3a1d568e Fix typo (#2469) 2019-10-24 22:59:16 +03:00
Stephen Hanson
c7c9306d29 Fix typo in suspense documentation (#2467)
Removes a redundant "about this" in the concurrent-mode suspense docs.
2019-10-24 22:57:25 +03:00
Josh Pollock
ba4b45cfd0 Minor typo fix in concurrent mode overview. (#2464) 2019-10-24 22:56:50 +03:00
swyx
62775f329e fix tiny typo on concurrent docs (#2465) 2019-10-24 22:56:22 +03:00
Juan
f324360d58 Update links to Relay docs (#2462) 2019-10-24 10:00:27 -07:00
Dan Abramov
9932845b39 Concurrent Mode Documentation (#2461) 2019-10-24 08:55:49 -07:00
Andrew Clark
2a15e912ec Fix double negative on Release Channels page, too 2019-10-22 13:18:28 -07:00
Andrew Clark
e560f8ae22 Blog post announcing prerelease channels (#2455) 2019-10-22 12:03:19 -07:00
Sophie Alpert
71050d527d Update code-splitting.md 2019-10-21 22:36:06 -07:00
Arshita Kakkar
d2ade76cce Documentation (#2449)
* Update getting-started.md

Line 41 - 
When starting a React project, [a simple HTML page with script tags](/docs/add-react-to-a-website.html) might still be the best option. It only takes a minute to set up!
Removed the hyperlink from "a" as we're focusing on simple HTML page so a shouldn't be hyperlinked.

* Update getting-started.md

Closes #2450


Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2019-10-21 14:53:45 +03:00
mvikrammenon
c26e34d689 Updated URL with page section (#2446) 2019-10-18 02:25:55 +03:00
Jimmy Cleveland
454f44e7c0 Add usage example for useContext. (#2414)
* Add usage example for useContext.

The intent is to show where the hook fits in to the usual Context usage.

* Remove unnecessary comment in code block.
2019-10-09 21:25:15 -07:00
Bob Ziroll
0a7beebf2b Fix typo in the React API Reference React.Suspense section (#2412)
Alternatively, "`React.Suspense` allows you to specify..."
2019-10-09 05:55:41 +03:00
James Baskerville
c505057312 Update react-devtools URL (#2408) 2019-10-08 14:42:43 +03:00
David Cho-Lerat
5c371e5e3f Update hooks-reference.md (#2364)
typo: "effects run [..], but you can [..] fire it" => "effects run [..], but you can [..] fire them"
2019-10-06 10:43:11 -07:00
Wes Lord
060d129aa0 Change usePrevious example in hooks-faq.md (#2387)
In the example, `count` is initialized to 0 and then multiplied by 100... which is 0.

Changing this to addition so the previous value will differ from the current value.
2019-10-02 11:35:01 -07:00
David Beitey
9c2e893774 Use gist URLs instead of RawGit in React docs (#2385)
RawGit is being shut down (eg Oct 2019, https://rawgit.com/) and this change uses the direct links to the files as served from gist.github.com.  The same files are being served, just that the links are only dependent on GitHub's gist service.
2019-10-02 10:22:15 -07:00
Cheng Lou
453a3bd4f2 Swap order of increment and decrement in Counter examples (#2382)
I think UI-wise, decrement comes first.
2019-10-01 23:27:06 -07:00
Alexey Pyltsyn
87685fd27f Improve Code Splitting 2019-10-02 01:01:21 +03:00
Michael Hienle
4136300bff Mention Rollup (#2379) 2019-10-02 00:58:52 +03:00
Bouwe K. Westerdijk
647b639259 React Router also supports hooks now (#2374) 2019-09-30 15:56:32 +03:00
Michael Lustig
9705d2796b Fix error (#2370) 2019-09-26 11:06:42 -07:00
Andrew Clark
36651d721a Update outdated info in contributing doc (#2369)
The sections on branch organization and versioning were outdated. I also
added a section on feature flags.
2019-09-25 14:05:53 -07:00
Andrew Clark
db0dc83473 Update Versioning FAQ (#2368)
* Update Versioning FAQ

Includes a new section describing our approach to minor releases, and
why they don't always include new features.

* Brian's edits

* Delete the adverb
2019-09-25 11:07:36 -07:00
Mojtaba Izadmehr
5cdb85b5e5 Add doc for context displayaName (#2367)
* Add doc for context displayaName

* Add highlight for js doc

* Fix context display name link

* Fix context displayName comment
2019-09-24 11:54:26 -07:00
Cool4ZBL
2efb26ee47 Update hooks-faq.md (#2340)
Add missing `{`
2019-09-12 19:26:19 +03:00
Sergei Cherniaev
1f2b1dae94 Docs: a typo and bottom nav links (#2339)
* typo fixed

* bottom nav links on previous and next articles removed like in other advanced guides
2019-09-11 23:08:25 +03:00
Jacob Bandes-Storch
ec0cf5cf2c Update CodeSplitting to clarify that lazy() must be used with Suspense (#2306)
* Update CodeSplitting to clarify that lazy() must be used with Suspense

* Update code-splitting.md
2019-09-10 17:28:27 -07:00
Adro.codes
8cf11dc3e9 Update web-components.md (#2333)
Updated custom-elements-es5-adapter link. Pointed to a repo that has moved.
2019-09-09 17:46:44 -07:00
Rootul Patel
fb8fdb8f6a Improve grammar (#2331)
Remove extraneous "as"
2019-09-09 17:31:10 -07:00
Gjum
f732f259ae Add missing comma (#2315)
Fixes syntax error
2019-09-03 10:10:33 +03:00
Arshita Kakkar
941f54180e Update getting-started.md (#2312)
Line 122 - 
Updated the hyperlink from "[on a separate page"] to "on a [separate page]".
2019-09-01 01:36:51 +03:00
Paul O’Shannessy
3eb3ed9fd8 Adopt the Contributor Covenant (#2311) 2019-08-30 11:32:46 +01:00
Andrew
24cced1a9b Remove duplication (#2308) 2019-08-29 08:17:43 -07:00
Sanghyeon Lee
b0a55fbff3 Edit the location of react-events package more precisely (#2297) 2019-08-27 10:32:34 -07:00
Michael Antczak
6b3891ad39 Update link to stable React versions in docs (#2293)
It currently points to download page which I think does not exist anymore, just redirects to getting started instead.
2019-08-26 13:55:13 -07:00
Sergei Cherniaev
519a3aec91 missed link in fast navigation added (#2289) 2019-08-26 10:38:59 +01:00
Shubham Tiwari
ac9f9f1a4a fixing broken link (#2281) 2019-08-25 14:24:29 -07:00
Parnab Sanyal
c7f56456ec Added Formik in the list of libraries, which use render props (#2287) 2019-08-25 14:23:00 -07:00
Alan Zhang
4a7cc4a7f1 fix links (#2257) 2019-08-20 21:05:43 -07:00
Ben Fletcher
de497e2503 Clarify effect of ‘only’ language (#2264)
Clarify that ‘only’ does not preclude `<Content />` from rendering.
2019-08-18 12:51:56 -07:00
Dan Abramov
68cedb300f Deemphasize Immutable.js in docs (#2253) 2019-08-16 15:37:43 +01:00
Jeremy Deutsch
71ec859df2 Update hooks-faq.md with info for React Native (#1875)
For the FAQ question "Which versions of React include Hooks?", the current version of React Native (which supports Hooks) is now listed, along with a link to the blog post for that release.
2019-08-15 23:23:48 +01:00
Max Thirouin
972d835775 Hooks intro: Add reference to React Native support in 0.59 (#2250)
Following #2244 https://github.com/reactjs/reactjs.org/pull/2244
2019-08-15 23:22:05 +01:00
Dan Abramov
af4db1d1bb Remove "highlight updates" from docs
This feature isn't available in New DevTools (yet?)
2019-08-15 23:16:35 +01:00