Commit Graph

10 Commits

Author SHA1 Message Date
Szymon Nowicki
04f46c4c5d Update reference-react.md
Rolled back trailing whitespace.
2017-12-15 17:31:42 +01:00
Szymon Nowicki
ee1f416790 Update React.PureComponent reference.
Maybe I'm somehow weird, but I lived for some time with an idea that `React.Component` does implement `shouldComponentUpdate` with deep comparison. `React.PureComponent` is faster because it compares shallowly.

The changes I propose should avoid this "implicit" kind of way of thinking, since it would explicitly state that `React.Component` does not compare anything.
2017-12-15 17:29:55 +01:00
Clement Hoang
c90276f151 Update top level API for fragments 2017-12-01 17:59:19 -08:00
Iurii Kucherov
da283ec8ff Update reference-react.md (#276)
Hi guys,

I was reading docs on `React.Children.only()` method and saw this statement `Otherwise this method throws.` and it seemed a bit unclear for me what it supposed to throw.

Please let me know if this PR makes sense.

Thank you!
2017-11-12 18:51:34 +00:00
Brian Vaughn
7267a399a0 Merge pull request #153 from mrscobbler/adding-glossary
Porting over glossary content from old repository
2017-10-17 11:53:42 -07:00
Fatos Morina
d70e89e2fb Use colon 2017-10-14 19:15:11 +02:00
Fatos Morina
ddd8cca1cb Add missing comma 2017-10-14 19:06:19 +02:00
Sophia Shoemaker
37feb36a06 adding glossary content 2017-10-12 16:02:08 -07:00
renatoselenica
ea6d90ef32 Changed the documentation for React.Children.only to make its implementation simpler to understand.
Fixes #87
2017-10-10 21:08:58 +02:00
Brian Vaughn
93aa551f1a Reorganized 'docs' folder 2017-10-04 14:48:45 -07:00