Michael Fix
da720361ed
Update hooks-faq to use React.memo instead of React.pure ( #1305 )
6 years ago
Leigh Halliday
a8e5cc424f
Fixing a small grammer mistake on the code-splitting page
6 years ago
Sebastian Markbage
83c2086e29
Update rfc links
6 years ago
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>
6 years ago
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
6 years ago
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.
6 years ago
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
6 years ago
Sebastian Markbåge
896214b7d2
Document class contextType as the primary consuming mechanism ( #1283 )
* Document class contextType as the primary consuming mechanism
* Update context.md
6 years ago
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
6 years ago
Sophie Alpert
026edff33c
Error boundaries docs shouldn't use class fields
6 years ago
Noel Yoo
ee8716166e
Fix typo ( #1274 )
6 years ago
Alex Wilmer
c66250a34a
add missing semi-colon in conditional rendering codeblock ( #1269 )
6 years ago
Tyler McGinnis
e2ee6b9f34
Remove the word "simple" ( #1257 )
I'm going to be that guy...
6 years ago
Dan Abramov
425cb9a429
Terminology: Lifecycle hooks -> Lifecycle methods ( #1237 )
6 years ago
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
6 years ago
kh0ma
fc83f24358
Chage JSON payload to prevent errors with parsing ( #1229 )
6 years ago
Dan
e89ad6306b
Fix example
6 years ago
Dan Abramov
81afcfbd87
Functional -> function ( #863 )
6 years ago
Dan Abramov
0276f2cd75
Add a link to Formik ( #1197 )
6 years ago
Brian Vaughn
9cd3667141
Corrected misleading wording about React.Children.map
6 years ago
Brian Vaughn
cc5f9c8eb1
Added links to the Profiler deep-dive YouTube video
6 years ago
Patrick Aljord
779a9bca3f
typo in accessibility ( #1168 )
6 years ago
Moti Zilberman
e5c3a9e4f0
Pointer events: Document tangentialPressure, twist ( #1118 )
Added to `SyntheticPointerEvent` in https://github.com/facebook/react/pull/13374
6 years ago
Jonathan
bc756a8102
Update to the semantic HTML section of the a11y page ( #1156 )
6 years ago
Michael McGahan
cf628304bb
Change name of setState updater first arg to 'state' ( #1155 )
6 years ago
Dan Abramov
33a3739314
Link to Tania’s blog post
6 years ago
Alex Zherdev
a857998ae6
Link to legacy context docs in Design Principles ( #1132 )
6 years ago
Brian Vaughn
8e0fc589ab
Added react-window to 'Virtualize Long Lists' section
7 years ago
Dan
1c7728241b
Add "React for Designers" link
7 years ago
Sophie Alpert
21511bde38
Tweaks to "Before You Use Context" ( #1091 )
![screenshot of new section](https://user-images.githubusercontent.com/6820/43227544-d9d55496-9013-11e8-8fe3-b16ed96d0070.png )
7 years ago
st-sloth
53e0590805
[accessibility] Minor clarifications ( #1100 )
* [accessibility] Remove trailing whitespaces
* [accessibility] Minor clarifications
* [accessibility] Minor clarifications (review changes)
* Language
7 years ago
Vasyl Stokolosa
76ef485ef6
Typo "React.createRef()" :) ( #1105 )
7 years ago
Dan Dascalescu
74f8d1f01b
Move rendering BoilingVerdict before the DOM is updated
7 years ago
Dan Dascalescu
562dbd2d22
Fix typo and add BoilingVerdict to input change steps
7 years ago
Dan Abramov
023fb45343
Tweaks
7 years ago
Dan Abramov
7016c4a21d
Tweak
7 years ago
Dan Abramov
5028f0874d
Add "Before You Use Context" ( #1085 )
7 years ago
Dmitry Minkovsky
7f1b367eb6
Refs and the DOM: clarify when ref callbacks are invoked ( #1069 )
7 years ago
Alex Krolick
48cbb02dd2
make all redirect_from's arrays ( #1075 )
make Gatsby happy again
7 years ago
Matthew Vargeson
c5b0584d03
Add accessibility guidelines link to portals doc ( #846 )
* Add accessibility guidelines link to portals doc
* Add more detail to portal accessibility note
* Clarify text using suggested content
7 years ago
almero.steyn
3d5965412e
[A11Y-docs]: Add section on pointer events with outside click example
7 years ago
Richie
e52e6c6d5a
Dynamically append path alias (aaa/bbb.html = aaa/bbb = aaa/bbb/) int… ( #783 )
* Dynamically append path alias (aaa/bbb.html = aaa/bbb = aaa/bbb/) into redirects during gatsby onCreateNode callback API to avoid 404
* Consider more cases:
(1) markdown without redirects
(2) duplicated permalink for /docs/pure-render-mixin.html, rename the unused one
* Test permalink with ending `.html` rather then containing them
7 years ago
Ivan de la Beldad Fernandez
b044ce5dbb
docs: fix minor typo ( #1038 )
7 years ago
Ideveloper
2bd8ffa429
Fix Issue about addons.md's Wrong links ( #1023 )
* Edit addons.md's link to right link
* Update addons.md
7 years ago
Andre Wiggins
5775f070e2
Add signature to getSnapshotBeforeUpdate section ( #1032 )
Add the signature for `getSnapshotBeforeUpdate` to its section, just like all other lifecycle method sections have.
7 years ago
Eslam Gamal Khoga
cf4e7fcff4
Update accessibility.md
removed additional tag's close />
7 years ago
Dan Abramov
50d2a9bfc8
Emphasize a section
7 years ago
Dan Abramov
8695e5a128
Link to homepage more prominently from Getting Started
7 years ago
embs
49053f3705
Fix another typo typo ( #1021 )
Remove duplicated word.
Related to #1007
7 years ago
Dan Abramov
8f89578d2d
Make recommendations clearer
7 years ago