Commit Graph

225 Commits

Author SHA1 Message Date
Alex Krolick
3a029d59e8 Add note about performance implications of .bind in render 2017-11-12 20:04:55 -08:00
Alex Krolick
3dbc6355e9 Add context to comment syntax example 2017-11-12 20:04:21 -08:00
Alex Krolick
b1d64dc8a2 Handle more states in async example code 2017-11-12 20:04:10 -08:00
Alex Krolick
bac965ed83 add example using data-attributes for event handler data 2017-11-12 19:25:43 -08:00
Alex Krolick
0143515ed5 fix typos 2017-11-12 19:25:43 -08:00
Alex
a904140005 add cancellation topic to AJAX FAQ 2017-11-12 19:25:43 -08:00
Alex
84c63dd29d add example component to AJAX FAQ 2017-11-12 19:25:43 -08:00
Alex Krolick
e9b132a280 Add FAQ pages 2017-11-12 19:25:43 -08:00
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
79288e2959 Fix link (#278)
Updates the link page location
2017-11-12 18:28:29 +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
a3e7c8b7ed Added gatsby-remark-babel-repl-link plug-in 2017-11-07 11:35:35 +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
330e26e79e Tweaked wordin in in Tutorial as per request 2017-11-06 16:10:21 +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
Brian Vaughn
13c0e48b34 Merge branch 'refactor-index' 2017-11-06 13:01:22 +00:00
Brian Vaughn
f5aaf4c1b4 Moved home page example code to /content/home
Now examples are trasnformed to GraphQL during build and assembled by the index template. This makes them easier to edit and tie in with their associated markdown description.
2017-11-06 13:01:13 +00:00
Tay Yang Shun
65f1ced297 Shift into home folder 2017-11-05 23:35:59 +08: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