Sébastien Boulet
95112711bb
fix link to anchor #unsafe_componentwillupdate ( #920 )
7 years ago
Sophie Alpert
3e87993047
Move static type checking above PropTypes
7 years ago
Brian Vaughn
3e80980c18
Renamed params for gDSFP
7 years ago
Andrew Clark
983476e3f3
Update getDerivedStateFromProps docs
7 years ago
Philipp Spiess
a1f41f65a2
Don’t recommend PEP because it lacks features
7 years ago
Philipp Spiess
988a67739d
Add section about Pointer Events
This PR adds a section about the state of Pointer Events in React.
This should be merged only if facebook/react#12507 is accepted as well.
7 years ago
John Park
665ccbf907
Missing closing quotation in line 225 for <Button /> ( #905 )
7 years ago
pushpinder107
06f8553e90
Fixes typo ( #902 )
7 years ago
Dan Burzo
1d5217a293
Clarify change propagation in Context API ( #896 )
7 years ago
barnonahill
9b72ba6f05
Add a sentence to the end of componentWillUnmount() ( #894 )
Adds a sentence explaining not to use setState in componentWillUnmount, see https://github.com/facebook/react/issues/12111
7 years ago
cyan33
5ce098c1a1
refactor the wording
7 years ago
cyan33
1b5cf20dcc
add #detecting legacy context apis for strict mode post
7 years ago
Tung Vu
1f8fdac9cc
doc: add createRef to Refs glossary ( #875 )
* doc: add createRef to Refs glossary
* doc: move newer api first
7 years ago
Stephane Moreau
f03e9c785d
"Introducing JSX" is missing a step ( #812 )
* Introducing JSX is missing a step
* Tweak
7 years ago
Alex Krolick
c95de8b59a
Clarify defaultValue usage ( #868 )
Fixes #867
7 years ago
Duc Nghiem Xuan
d0cdc9ef0c
Fix elmish-react link on static-type-checking ( #857 )
`fable-elmish` org is now simply `elmish`, thus the link to `elmish-react` was 404.
ref https://github.com/elmish/elmish/issues/145
7 years ago
Dan Abramov
e3cf355618
Tweak componentWillReceiveProps docs ( #856 )
* Tweak componentWillReceiveProps docs
* Update reference-react-component.md
7 years ago
Rauno Freiberg
3279bd768b
Fix JSX link in design principles section ( #855 )
7 years ago
Chester Law
f97629e6f0
Fix grammar in List and Keys documentation ( #854 )
7 years ago
Augustus Yuan
f1bdc9674e
Replace meeting notes section with RFCS section ( #848 )
7 years ago
Eugene Kopich
f40682a583
new "Flow" URL (2) ( #839 )
7 years ago
Eugene Kopich
b147d01e75
new "Flow" URL ( #838 )
7 years ago
Jedai Saboteur
049c40109d
Linked to an example "from scratch" implementation ( #837 )
* Add link to complete example
* Fix heading space on complete example
7 years ago
Joep van der Heijden
1c9b6139c4
Add missing semicolon in example code ( #835 )
7 years ago
Michael Li
ed255e604b
Fix grammar
7 years ago
J Silverstein
380225e65e
add chromevox to a11y documentation
7 years ago
John
a4aa51035a
docs(error-boundaries):fix react blog link ( #817 )
7 years ago
John
233d74e790
docs(error-boundaries):remove react beta reference ( #815 )
7 years ago
Marc Bouchard
5593059434
docs(refs-and-the-dom): typo in CustomTextInput ( #813 )
Correct a typo in the render method comments for the "CustomTextInput" component of the "Adding a Ref to a DOM Element" example. The first line of the comments reads "tell React that we want the associate the <input> ref". The word "the" should be "to" resulting in the comment "tell React that we want to associate the <input> ref".
7 years ago
Dan Abramov
04124cc053
Promote ref forwarding in "DOM and Refs" ( #802 )
7 years ago
Lucas Duailibe
dab9b8b2fd
Add 'visual components' use case for forwarding refs ( #798 )
* Add 'visual components' use case for forwarding refs
* Rearrange "forwarding refs" to focus on simple use case
* Minor wording nits to 2018-03-29-react-v-16-3.md
* Minor wording nits to forwarding-refs.md
* Add more info to the forwardRef reference doc
* Minor wording nits to reference-react.md
7 years ago
Brian Vaughn
e26547bfc6
Wording nit
7 years ago
Toru Kobayashi
f450adbdec
Add a section "Displaying a custom name in DevTools"
7 years ago
Alex Krolick
d7f675d418
"efficient" is vague
7 years ago
Justin Francos
827ade1906
fixed 2 cases of "it's" where it should be "its" ( #782 )
Its = it + possessive
It's = it is
7 years ago
tjallingt
6521a654cb
Added updating nested context default value example ( #780 )
* added context default value example
* Implement suggested change
* noop function as default value to createContext
7 years ago
tjallingt
e4941f6440
Added example for updating nested context consumer ( #776 )
* Added an example showing how to update the context from inside a (deeply) nested component
* Wrap comments
* Wrap comments
* Tweak wording
* Prettier
* Prettier
* Typo: "funtion" -> "function"
7 years ago
Dan Abramov
1466232fbf
Tweak context
7 years ago
Alex Krolick
6c22a4345b
Clarify when Consumers get the default value ( #770 )
* Clarify when Consumers get the default value
* Change wording
7 years ago
Rauno Freiberg
4f5d4b08cb
nit: minor reordering of words ( #772 )
7 years ago
Sean Snyder
e1689b0f20
Move constructor out of render
7 years ago
Kent C. Dodds
17f2a6f9d0
Update addons-test-utils.md
7 years ago
Kent C. Dodds
9c39cb117f
add reference to react-testing-library
Because it will help engineers write better tests with react.
7 years ago
Alex Krolick
861544b16c
Move createRef above forwardRef
7 years ago
Alex Krolick
1dccf07a89
~the~
fixes #763
7 years ago
Dan Abramov
cf7329d6bd
Tweak wording
7 years ago
rk162
1f21aaabb2
Update introducing-jsx.md ( #761 )
7 years ago
Rauno
3709c8e4ef
Add link to refs-and-the-dom in description
7 years ago
Rauno
9948cc94e3
Add createRef to top level API section
7 years ago
chucksellick
dbe5b49bbf
Fix a very small typo ( #754 )
"potential" -> "potentially"
7 years ago