Commit Graph

1345 Commits

Author SHA1 Message Date
Dan Abramov
16d8bd1ff6 Add more highlighting to docs (#8076)
* Tweak JSX in Depth

* Add highlighting to Refs and the DOM

* More tweaks
2016-10-24 15:48:46 +01:00
Ashish
d0e054114f Docs : Fix createClass reference (#8073)
Currently react.createClass is wrongly referenced to #react.createclass. Changed it to #createclass!
2016-10-24 13:34:17 +01:00
Dan Abramov
063ed7aacd Remove references to createClass in createElement docs (#8064) 2016-10-23 15:48:58 +01:00
Dan Abramov
8712f6daa0 Link to lifecycle methods from Context doc (#8062) 2016-10-23 14:35:23 +01:00
Alireza Mostafizi
25a1e5acae Update handling-events.md (#8057) 2016-10-23 13:44:29 +01:00
Giuseppe
e0704b2590 Docs replace reference to 'getInitialState' with 'state' instance property in "Thinking in React" (#8059) 2016-10-23 13:41:37 +01:00
Sebastian Markbåge
8f67f8ffed Fix relative link in Hello World (#8041)
* Fix relative link in Hello World

This links https://facebook.github.io/docs/installation.html which redirects to https://code.facebook.com/

* Update hello-world.md

* Fix link
2016-10-22 21:56:53 +01:00
Oskari Mantere
97a1b89a94 Replace vars with let and const (#8051) 2016-10-22 21:55:29 +01:00
Nathan Hardy
4c72dce721 Fix erroneous '}' in JSX examples (#8043) 2016-10-22 21:45:29 +01:00
Cody Reichert
66875b66d5 Fix anchor link for displayName (#8040) 2016-10-22 21:44:51 +01:00
Ragnar Þór Valgeirsson
7aab5cf706 Convert the Number component to ListItem (#8039)
* Convert the Number component to ListItem

* Add updated example CodePen

Also fixes typos.
2016-10-22 21:44:28 +01:00
Christopher Chedeau
501974fc8a Update components-and-props.md
fb indent style
2016-10-21 18:30:25 -07:00
Christopher Chedeau
3071ad08f5 Update react-without-jsx.md
Facebook codestyle
2016-10-21 14:30:35 -07:00
Dan Abramov
842d44dfa5 Fix redirects 2016-10-21 22:02:30 +01:00
Dan Abramov
7e3f5777cb Minor doc tweaks 2016-10-21 21:47:43 +01:00
Kevin Lacker
aa9544bfac New Documentation 2016-10-21 20:59:08 +01:00
Ujjwal Ojha
3c25e09155 Fix typo (#7909) 2016-10-12 09:49:56 -05:00
Colin Wren
f1c916dc7f Fix typo in more-about-refs.md (#7933) 2016-10-11 11:56:34 +01:00
Sophia
66b8e25b43 removing parent/child references in props section of tutorial (#7887) 2016-10-05 22:29:55 +01:00
Michael O'Brien
f665a4b48a Update comment to refer to correct method name (#7873) 2016-10-04 22:53:26 +01:00
Kateryna
976ca17896 Fix initial state example for Recat.createClass (#7867)
In the example there was a typo with setting initial state using `getInitialState` method
2016-10-04 18:43:49 +01:00
ankitml
4f2168e0d5 Use ES6 in Language Tooling doc 2016-10-04 12:51:42 +01:00
KeicaM
5a90ffd6b0 Update 04-multiple-components.md (#7861)
added missing map bracket
2016-10-04 12:19:44 +01:00
Marcelo Alves
636bc1114a Fix minor typo in closing H1 tag (#7855) 2016-10-03 19:07:56 -05:00
Ben Alpert
ea7c845a98 Update remarkable to 1.7.1 (#7851)
Fixes a subtle XSS hole.
2016-10-03 14:22:06 -07:00
ankitml
8bb9899f0f Keyed Fragment of AddOns ported to ES6 2016-10-03 21:45:27 +01:00
Alex Zherdev
7129d5f511 Add-Ons: Animation updated with ES6 examples 2016-10-03 21:30:22 +01:00
Rafael Angeline
ca37fb35cb Reusable Components ES6 Update 2016-10-03 21:02:32 +01:00
gillchristian
5e59a1fcd9 Docs to ES6: Displaying data example. 2016-10-03 19:21:44 +01:00
Eric Douglas
18196d304a Update babel link (#7837) 2016-09-30 13:39:23 -07:00
Gil Chen-Zion
fbccd7b3d6 Note that getInitialState is not used in ES6 classes in docs (#7748) 2016-09-28 19:07:29 -07:00
Christoph Pojer
5f180b27fd Reduce confusion in testing documentation. (#7818)
* Reduce confusion in testing documentation.

Just wanted to add some clarity to this page and link to the react tutorial on Jest's website to give people more information. Also changed enzyme's definition from library to utility to help reduce the confusion. Hope this makes sense to everybody :)

See https://twitter.com/damusnet/status/780752042675597312

cc @lelandrichardson

* Update 10.4-test-utils.md
2016-09-27 19:08:02 -07:00
imjanghyuk
40a708fb73 Update 07-forms.ko-KR.md (#7809)
fix spelling
2016-09-26 14:02:33 -07:00
jinmmd
b0385f070e Change [入门教程] from "tutorial.html" to "tutorial-zh-CN.html" (#7789) 2016-09-26 10:39:34 -07:00
jinmmd
efba6d4740 Change [API参考] from "top-level-api.html" to "top-level-api-zh-CN.html" (#7790) 2016-09-26 10:39:03 -07:00
Paul O’Shannessy
862084fa47 [docs] Update React Rally 2016 videos link (#7771) 2016-09-19 14:26:32 -07:00
Gant Laborde
10dd13bbf7 Adding the published ReactRally videos section (#7681)
ReactRally came and went, and it was splendid.
2016-09-08 10:17:39 -05:00
Kite
c16355138c Fix the HTML for package management (#7656) 2016-09-06 09:58:17 -07:00
Dan Abramov
993b5d16b8 Link to Create React App (#7654)
* Link to Create React App

* Reword
2016-09-03 18:13:30 +01:00
却痕
92c5e22268 docs:translate doc 11-advanced-performance to chinese (#7584) 2016-09-01 22:59:30 -04:00
Michael Jackson
d69d722116 s/npmcdn/unpkg/g (#7609)
npmcdn.com is moving to unpkg.com. Same backend, one less letter in the
domain name. Boom.
2016-08-29 19:45:31 -07:00
Duke Pham
a4295280f6 Add line breaks to examples on 10.1-animation docs per (#7606)
comments to issue #7317.
Updated JP doc examples to match other languages
Reformat to match JSX multi-line style #7550
2016-08-29 15:50:23 -07:00
Robert Kielty
05138ac33a Adds minor additions clarifying questions I had reading intro tutorial (#7595) 2016-08-29 15:34:48 -07:00
Nik Nyby
557f06e044 docs: re-position comments to account for code sample width (#7602) 2016-08-29 10:08:07 -07:00
NestorTejero
8dcfec57b1 add explicit link to http://bower.io/ (#7546) 2016-08-23 09:30:12 -07:00
Alex Zherdev
4609f1fcf7 Fix header link generation for non-English docs (#7497) 2016-08-18 14:55:50 -07:00
龙海燕
8cb03e0bb0 Update 09.2-package-management.md (#7520) 2016-08-18 08:52:07 -06:00
Jess Telford
7aecf55405 React.Children.toArray() changes keys (#7495)
As noted by @spicyj in #5541
2016-08-15 23:43:33 -07:00
Tanase Hagi
7793db16b0 Add propsTypes and defaultProps example for stateless functions (#7458)
* Add propsTypes and defaultProps example for stateless functions

* Update 05-reusable-components.md

* Update 05-reusable-components.md
2016-08-14 12:04:47 -05:00
Robert Martin
3d38c5cd3b Capitalize AJAX (#7435) 2016-08-08 16:24:30 -07:00