Commit Graph

164 Commits

Author SHA1 Message Date
Alexey
1d4c82f9be Fix webpack DefinePlugin usage example 2017-11-10 00:51:24 +03: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
Brian Vaughn
5cc79c040e Merge pull request #206 from NCarteazy/patch-1
Link for "the key attribute" corrected
2017-10-25 14:41:43 -07:00
Dan Abramov
0629e3e228 Delete section about Haste (#208) 2017-10-25 21:24:53 +03:00
NCarteazy
8821563c3e Link for "the key attribute" corrected
The link redirected to the incorrect page, changed to point to 'key attribute' page.
2017-10-24 10:25:11 -07:00
Michel EDIGHOFFER
bcbf2a464c Useless caveat about root element in a component
With new version of React (v16), many root element are acceptable.
2017-10-24 17:22:47 +02:00
Dan Abramov
bea8fa0dd6 Expand on recommended hydrate() usage (#200)
* Expand on recommended hydrate() usage

* Nit

* Add extra info

* Update reference-react-dom.md
2017-10-23 18:54:31 +03:00
Brian Vaughn
5a9955bec8 Merge pull request #197 from learning/learning-npx-install-example
Add an example for creating a new application
2017-10-23 08:34:11 -07:00
Dan Abramov
24cf4575ed Tweak Lifecycle Docs (#199)
* Tweak Lifecycle Docs

* Nits
2017-10-23 18:34:05 +03:00