Joe Haddad
f45e10b870
Use Create React App instead of unofficial fork ( #1347 )
...
Create React App supports TypeScript as of 2.1.
2018-10-30 11:18:47 -07:00
Dan Abramov
3c46595136
Add some spacing because it looks weird on website
2018-10-29 17:33:47 -07:00
Sophie Alpert
7e964ef8bf
Add Hooks video
2018-10-29 15:42:28 -07:00
v891
a8bf119e01
Update hooks-overview.md ( #1320 )
2018-10-26 15:40:48 -07:00
Misha Moroshko
a1c7038255
Remove highlighted line in code example ( #1322 )
2018-10-26 15:39:29 -07:00
Misha Moroshko
4fff01e641
Add : ( #1321 )
2018-10-26 15:35:36 -07:00
Kurt Furbush
7258e584cb
Update code-splitting.md ( #1299 )
...
Grammar fix
2018-10-26 09:12:44 -07:00
Philip Jackson
497de67653
Update hooks-reference.md ( #1315 )
...
Fix internal hyperlinks
2018-10-26 09:10:24 -07:00
Bæring Gunnar Steinþórsson
8d562573c7
Update hooks-intro.md ( #1316 )
...
Make link to Writing Custom Hooks lead to the top of the page rather than to how to Using a Custom Hook
2018-10-26 09:09:05 -07:00
Marko Schulz
60bddf78f9
Update links to https ( #1313 )
...
Only left the link to fable.io, because it currently has an invalid certificate, which they will only fix after moving to a new domain. https://github.com/fable-compiler/fable-compiler.github.io/issues/27
2018-10-25 23:35:26 -07:00
Misha Moroshko
017dd6523f
or => and ( #1311 )
2018-10-25 22:26:12 -07:00
Stephen Burke
ce2729582c
Update hooks-overview.md ( #1308 )
2018-10-25 21:55:51 -07:00
Michael Fix
da720361ed
Update hooks-faq to use React.memo instead of React.pure ( #1305 )
2018-10-25 10:07:42 -07:00
Sebastian Markbage
83c2086e29
Update rfc links
2018-10-25 09:25:56 -07:00
Sophie Alpert
d0d1fed2d0
Add documentation for Hooks proposal
...
Co-Authored-By: Dan Abramov <dan.abramov@gmail.com >
Co-Authored-By: Sophie Alpert <git@sophiebits.com >
2018-10-25 07:09:38 -07:00
Brian Vaughn
43339e2611
Add docs for getDerivedStateFromError [16.6] ( #1223 )
...
* Updated error boundary docs to reference new getDerivedStateFromError
* Updated some wording in response to PR feedback
* These
2018-10-23 16:55:17 -07:00
Sebastian Markbåge
b6b15d770f
Document deprecation of findDOMNode ( #1263 )
...
We might want to open an RFC for fragment refs which could solve the one
remaining use case in a better way but at least let us get the deprecation
in.
2018-10-23 16:54:04 -07:00
Sebastian Markbåge
b188555b06
Document React.lazy ( #1284 )
...
* Document React.lazy
Suspense is documented here since it's the only built-in way so far to
use it. In the future it'll likely be documented on its own more like
Error boundaries.
This hoists React.lazy as the primary way to do code splitting. However,
before getting into it we keep the recommendation to use react-loadable
for server-side rendered apps since Suspense is not yet ready for the
server.
* Tweaks
* Tweaks
* nits
2018-10-23 16:51:54 -07:00
Sebastian Markbåge
896214b7d2
Document class contextType as the primary consuming mechanism ( #1283 )
...
* Document class contextType as the primary consuming mechanism
* Update context.md
2018-10-23 16:48:02 -07:00
Sebastian Markbåge
1601307c1e
Document React.memo ( #1282 )
...
* Document React.memo
* Use named functions in memo
Uses default exports
* Nits
* Tweak to "areEqual" to match the note below
2018-10-23 16:45:34 -07:00
Sophie Alpert
026edff33c
Error boundaries docs shouldn't use class fields
2018-10-21 11:30:29 -07:00
Noel Yoo
ee8716166e
Fix typo ( #1274 )
2018-10-20 16:12:28 -04:00
Alex Wilmer
c66250a34a
add missing semi-colon in conditional rendering codeblock ( #1269 )
2018-10-19 01:51:56 -04:00
Tyler McGinnis
e2ee6b9f34
Remove the word "simple" ( #1257 )
...
I'm going to be that guy...
2018-10-14 17:59:18 -07:00
Dan Abramov
425cb9a429
Terminology: Lifecycle hooks -> Lifecycle methods ( #1237 )
2018-10-08 19:29:31 +01:00
Bartosz Kaszubowski
5c3f61d312
Small changes to "classnames" tip ( #1151 )
...
Just two small changes on "Styling and CSS" page:
* tip regarding "classnames" has been placed in quote box to visually emphasize it
* link to "classnames" package now points to React related section on the page
2018-10-05 14:41:13 -07:00
kh0ma
fc83f24358
Chage JSON payload to prevent errors with parsing ( #1229 )
2018-10-05 14:28:26 -07:00
Dan
e89ad6306b
Fix example
2018-10-04 22:46:34 +01:00
Dan Abramov
81afcfbd87
Functional -> function ( #863 )
2018-10-04 22:13:09 +01:00
Dan Abramov
0276f2cd75
Add a link to Formik ( #1197 )
2018-09-25 00:37:20 +01:00
Brian Vaughn
9cd3667141
Corrected misleading wording about React.Children.map
2018-09-19 09:48:57 -07:00
Brian Vaughn
cc5f9c8eb1
Added links to the Profiler deep-dive YouTube video
2018-09-17 14:21:30 -07:00
Patrick Aljord
779a9bca3f
typo in accessibility ( #1168 )
2018-09-11 07:04:01 +02:00
Moti Zilberman
e5c3a9e4f0
Pointer events: Document tangentialPressure, twist ( #1118 )
...
Added to `SyntheticPointerEvent` in https://github.com/facebook/react/pull/13374
2018-09-08 14:32:58 +01:00
Jonathan
bc756a8102
Update to the semantic HTML section of the a11y page ( #1156 )
2018-09-06 07:56:08 +02:00
Michael McGahan
cf628304bb
Change name of setState updater first arg to 'state' ( #1155 )
2018-09-04 23:26:01 +01:00
Dan Abramov
33a3739314
Link to Tania’s blog post
2018-08-22 17:22:58 +01:00
Alex Zherdev
a857998ae6
Link to legacy context docs in Design Principles ( #1132 )
2018-08-20 19:04:50 +01:00
Brian Vaughn
8e0fc589ab
Added react-window to 'Virtualize Long Lists' section
2018-08-09 11:07:18 -07:00
Dan
1c7728241b
Add "React for Designers" link
2018-08-04 01:16:54 +01:00
Sophie Alpert
21511bde38
Tweaks to "Before You Use Context" ( #1091 )
...

2018-08-03 13:21:02 +01:00
st-sloth
53e0590805
[accessibility] Minor clarifications ( #1100 )
...
* [accessibility] Remove trailing whitespaces
* [accessibility] Minor clarifications
* [accessibility] Minor clarifications (review changes)
* Language
2018-08-03 07:27:44 +02:00
Vasyl Stokolosa
76ef485ef6
Typo "React.createRef()" :) ( #1105 )
2018-08-02 22:41:03 +01:00
Dan Dascalescu
74f8d1f01b
Move rendering BoilingVerdict before the DOM is updated
2018-07-27 18:47:44 -07:00
Dan Dascalescu
562dbd2d22
Fix typo and add BoilingVerdict to input change steps
2018-07-26 23:33:53 -07:00
Dan Abramov
023fb45343
Tweaks
2018-07-25 03:13:43 +02:00
Dan Abramov
7016c4a21d
Tweak
2018-07-25 02:31:36 +02:00
Dan Abramov
5028f0874d
Add "Before You Use Context" ( #1085 )
2018-07-25 02:17:15 +02:00
Dmitry Minkovsky
7f1b367eb6
Refs and the DOM: clarify when ref callbacks are invoked ( #1069 )
2018-07-19 11:14:52 -07:00
Alex Krolick
48cbb02dd2
make all redirect_from's arrays ( #1075 )
...
make Gatsby happy again
2018-07-19 10:51:07 -07:00