Commit Graph

172 Commits

Author SHA1 Message Date
Dan Abramov
5dfd480fe2 Try to work around #280 by using Markdown for link 2017-11-12 20:26:49 +00: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
Mike Wilcox
ec575b1c97 Fix link (#277)
Fixes the link hash
2017-11-12 18:28:13 +00:00
Brian Vaughn
c899c610dd Merge pull request #270 from reactjs/gaearon-patch-4
Require Node 8+ for contributing
2017-11-10 10:45:15 +00:00
Kiho · Cham
7d2a65c6f5 correct yarn link usage 2017-11-10 03:49:02 -06:00
Brian Vaughn
99abb94909 Merge pull request #267 from ogonkov/patch-1
Fix webpack `DefinePlugin` usage example
2017-11-09 22:45:58 +00:00
Alexey
1d4c82f9be Fix webpack DefinePlugin usage example 2017-11-10 00:51:24 +03:00
Brian Vaughn
ef380d772c babel-repl:// protocol changed to babel:// 2017-11-09 18:10:40 +00:00
Brian Vaughn
130a20363d Merge pull request #239 from kinyaying/master
Update typechecking-with-proptypes.md
2017-11-07 15:26:30 +00:00
Brian Vaughn
0021670de2 Removed an unnecessary new-line 2017-11-07 15:26:08 +00:00
Brian Vaughn
06ba550d28 Merge branch 'add-static-typechecking-guide' 2017-11-07 15:20:29 +00:00
Brian Vaughn
9469e21918 Wording tweaks 2017-11-07 15:20:25 +00:00
kinyaying
b66d5442f9 Update typechecking-with-proptypes.md
Revert the code style and change the paragraph. And thanks for @bvaughn's advise.
2017-11-07 23:07:28 +08:00
Brian Vaughn
f81eadfe63 Merge pull request #256 from manpenaloza/addContributionVideoSections
add intro video topics and linked scenes to directly navigate to
2017-11-07 13:59:50 +00:00
Manuel Penaloza
0596de747b add dash symbols as separator 2017-11-07 14:57:15 +01:00
Manuel Penaloza
45e7c494fb switched text<>links positions 2017-11-07 14:52:15 +01:00
Manuel Penaloza
d1d85f340a change headline 2017-11-07 14:48:58 +01:00
Manuel Penaloza
955cf6ad7b opimization of text and video links 2017-11-07 14:47:49 +01:00
Manuel Penaloza
ef2bd0a053 add intro video topics and linked scenes to directly navigate to 2017-11-07 13:26:00 +01:00
Brian Vaughn
32a66d7b83 Migrated remaining Babel REPL links 2017-11-07 12:07:01 +00:00
Brian Vaughn
4614ab0791 Whitespace 2017-11-07 10:39:53 +00:00
Brian Vaughn
3f6854d081 Changed Codepen link protocol from 'codepen:' to 'codepen://' for improved clarity 2017-11-07 10:35:49 +00:00
Brian Vaughn
6fd0d7950e Added custom remark transform for Codepen example links 2017-11-06 23:00:26 +00:00
Brian Vaughn
130c2694f7 Removed un-used script tags in error-decoder.md 2017-11-06 15:23:09 +00:00
Brian Vaughn
6d5d1024d2 Merge pull request #245 from bvaughn/codepen-continued
Seamlessly sync examples from Github -> Codepen
2017-11-06 14:36:50 +00:00
Brian Vaughn
cadaeae62b Reorganized codepen folder further to support nesting 2017-11-06 14:22:49 +00:00
Brian Vaughn
6eef46d1cb Renamed 'examples' folder to 'codepen' for clarity 2017-11-06 14:05:14 +00:00
Brian Vaughn
d8d60761f2 Merged master 2017-11-06 13:24:49 +00:00
Dan Abramov
37da66e90f Recommend a real rAF polyfill 2017-11-06 13:24:12 +00:00
kinyaying
400a2c6c1c Update typechecking-with-proptypes.md
change the words
2017-11-05 19:10:48 +08:00
Dan Abramov
f91081efd4 Direct people to "good first issue" tag instead
We can still tag them with difficulty. GitHub treats GFI specially now.
2017-11-03 18:37:30 +00:00
kinyaying
bf28861146 Update typechecking-with-proptypes.md
add 'javascript' after ```
2017-11-03 22:06:28 +08:00
kinyaying
bd04b6f8ab Update typechecking-with-proptypes.md
1、Declare the defaultProps alone. And it is obeying AirBNB's styleguide.
2、Someone is confused about is it OK to put propTypes and defaultProps as static props inside React class. And we can explain about this question.
2017-11-03 19:05:20 +08:00
Brian Vaughn
4e995afde8 Merge pull request #233 from xjlim/fix-links
fix links issue introduce by gatsby catch links plugin
2017-11-02 07:49:47 -07:00
Jeremy Kahn
1388eb8642 Fix grammatical error in reference-test-renderer.md 2017-11-01 15:51:47 -05:00
Joe Lim
f443db83ae fix links issue introduce by gatsby catch links plugin 2017-11-01 13:14:42 -07:00
Brian Vaughn
91dbcc8eb8 Merge pull request #228 from dimitarnestorov/master
Switching to a more popular representation of optional arguments
2017-11-01 09:55:54 -07:00
Bernard Lin
f1ef9ffbeb Fixing typo (#229) 2017-11-01 11:03:50 +00:00
Dimitar Nestorov
0560d6be8b Switching to a more popular representation of optional arguments 2017-10-31 17:26:44 +02:00
Ferdy Budhidharma
f456a7a9b8 feat(react-dom-reference): update findDOMNode API (#202)
* feat(react-dom-reference): update findDOMNode API

* Fixed confusing wording on findDOMNode

* Reword and make more precise
2017-10-31 14:39:02 +00:00
Dan Abramov
2c7c414ce7 Suggest a smaller Function.name polyfill 2017-10-30 21:22:22 +00:00
Justin Hall
6e74bd8aa6 Add note about Function.name to error boundary doc 2017-10-30 11:11:48 -06:00
Brian Vaughn
d9d6d9536d Merge pull request #216 from knpwrs/ref-did-mount
Explicitly note that ref callbacks are called before componentDidMount.
2017-10-30 12:36:53 -04:00
Dan Abramov
f5ab0b4ba7 Fix Reconciliation link 2017-10-30 11:24:33 +00:00
Kenneth Powers
18097a25eb Note that ref callbacks can update during render and be called after mount. 2017-10-27 22:36:39 -04:00
Kenneth Powers
efe928284a Explicitly note that ref callbacks are called before componentDidMount. 2017-10-27 11:18:28 -04:00
Dan Abramov
ff8ef817e3 Make error boundary doc more in style with the post (#213)
* Make error boundary doc more in style with the post

* Update error-boundaries.md

* Update error-boundaries.md
2017-10-27 12:51:03 +01:00
Daniela Borges Matos de Carvalho
dfdddfd7cd Update test-utils to use refs correctly (#215)
* Update test-utils to use refs correctly

Update test-utils according to the new way of using refs: https://reactjs.org/docs/refs-and-the-dom.html

* Tweak
2017-10-27 12:40:58 +01:00
Brian Vaughn
9b02db39d1 Merge pull request #41 from hardfist/patch-1
Update implementation-notes.md
2017-10-25 15:37:34 -07:00
Brian Vaughn
4733648323 Merge pull request #203 from edimitchel/patch-1
Useless caveat about root element in a component
2017-10-25 15:26:36 -07:00