Commit Graph

1346 Commits

Author SHA1 Message Date
Nate 2f7e6c3a5d Fix typos in Shallow Rendering Documentation (#8226)
* Fix typos in Shallow Rendering Documentation

* Fix another occurrence

(cherry picked from commit 2317fcaccb)
2016-11-16 15:22:38 +00:00
Satoshi Nakajima b434310383 Replaced old refs with new callback refs (#8254)
(cherry picked from commit 3e708497d2)
2016-11-16 15:22:25 +00:00
Kevin Lacker db0ec1ab0f forms breakup 2016-11-08 21:38:44 +00:00
Kevin Lacker 3fe1664601 Docs: add a bunch of redirects (#8137)
* add a bunch of redirects

* add more redirects
2016-11-08 19:32:31 +00:00
Alex Baumgertner 44550c374f Fix method markdown highlight (#8218) 2016-11-08 19:21:44 +00:00
Skasi d7d9b81a85 Remove duplicated word in doc (#8157)
Gets rid of an obsolete word in the documentation for "State and Lifecycle":

"Consider the ticking clock example from the one of the previous sections."
->
"Consider the ticking clock example from one of the previous sections."
2016-11-08 19:21:16 +00:00
Eugene 923aee7cf5 Update reference-react-component.md (#8126)
line 320: For example, this code ensures that the `color` prop is a string
2016-11-08 19:14:52 +00:00
Dan Abramov 04ebe6d8c1 Clarify how transition props work (#8124) 2016-11-08 19:14:34 +00:00
Andreas Möller de4c0127ad Fix: Remove unneeded else branches from documentation examples 2016-10-27 13:15:50 +01:00
Lewis Blackwood 48949f35c5 Correct usage of formatName() function in docs (#8122)
The code section above these changes defines a `formatName` function
that expects a parameter `user`. The code section containing these
changes incorrectly called `formatName(user.name)`. For those following
along with CodePen, this section should correctly call
`formatName(user)`.
2016-10-27 13:15:39 +01:00
王晓勇 ceb282a46d Update forms.md (#8121) 2016-10-27 13:15:11 +01:00
Dan Abramov 1668ccb2b0 Tweak Forms 2016-10-27 02:02:14 +01:00
Eric Nakagawa 95cf873e53 Docs update - Additional (#8115)
* Reapplied fixes to updated docs from master

* Reapplied fixes to Forms, removed ES2016 function includes()

* Missing carriage return

* Adding back some line breaks

* Making requested changes.

* Making space changes

* Fixed typo and removed unnecessary hyphen.

* Reworded select, and highlighted line

* Fixed string styles

* Refactored <label> to use htmlFor

* Another refactor of <label>

* Removed name prop from radiobutton
2016-10-27 01:11:31 +01:00
Eric Nakagawa 7d5498de1b Forms Update (#8112)
* Reapplied fixes to updated docs from master

* Reapplied fixes to Forms, removed ES2016 function includes()

* Missing carriage return

* Adding back some line breaks

* Making requested changes.

* Making space changes
2016-10-27 01:11:00 +01:00
Alex Katopodis e2c648e93c Fix typo in reconciliation.md (#8110) 2016-10-27 01:10:30 +01:00
Toru Kobayashi a53e45ada0 Fix an argument name of TestUtils.renderIntoDocument (#8104) 2016-10-27 01:09:47 +01:00
Jae Hun Lee c07ed1a498 Update lists-and-keys.md (#8090)
There is mismatching variable name both definition and usage.
In line 156, an argument name called item is change to match the usage in line 158.
2016-10-27 01:09:23 +01:00
Constantin Gavrilete f87407034d removed duplicated 'the' (#8081) 2016-10-27 01:09:04 +01:00
Dan Abramov 6f26178a3a Add more highlighting to docs (#8076)
* Tweak JSX in Depth

* Add highlighting to Refs and the DOM

* More tweaks
2016-10-24 15:53:09 +01:00
Ashish 7480eb2317 Docs : Fix createClass reference (#8073)
Currently react.createClass is wrongly referenced to #react.createclass. Changed it to #createclass!
2016-10-24 15:52:57 +01:00
Dan Abramov 5d08b299a7 Remove references to createClass in createElement docs (#8064) 2016-10-23 15:49:07 +01:00
Dan Abramov 6165c49f1d Link to lifecycle methods from Context doc (#8062) 2016-10-23 14:35:40 +01:00
Giuseppe 20587a4733 Docs replace reference to 'getInitialState' with 'state' instance property in "Thinking in React" (#8059) 2016-10-23 13:52:19 +01:00
Alireza Mostafizi ba488ce64f Update handling-events.md (#8057) 2016-10-23 13:51:48 +01:00
Christopher Chedeau 1d74e43b2c Update components-and-props.md
fb indent style
2016-10-22 22:08:36 +01:00
Christopher Chedeau 27ce7a9151 Update react-without-jsx.md
Facebook codestyle
2016-10-22 22:08:27 +01:00
Oskari Mantere a9578c9d5b Replace vars with let and const (#8051) 2016-10-22 22:07:23 +01:00
Nathan Hardy 24f27f81a5 Fix erroneous '}' in JSX examples (#8043) 2016-10-22 22:06:41 +01:00
Sebastian Markbåge 9c7d8a941d 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 22:06:23 +01:00
Cody Reichert f05fe34a85 Fix anchor link for displayName (#8040) 2016-10-22 22:06:10 +01:00
Ragnar Þór Valgeirsson ea6c7f4edb Convert the Number component to ListItem (#8039)
* Convert the Number component to ListItem

* Add updated example CodePen

Also fixes typos.
2016-10-22 22:05:53 +01:00
Dan Abramov 60ec3c6b37 Fix redirects 2016-10-21 22:01:06 +01:00
Dan Abramov 55a788e756 Minor doc tweaks 2016-10-21 21:47:57 +01:00
Kevin Lacker 1cf81c1aa9 New Documentation 2016-10-21 21:00:10 +01:00
Colin Wren 4327cde28b Fix typo in more-about-refs.md (#7933) 2016-10-11 12:09:04 +01:00
Sophia 08c320d047 removing parent/child references in props section of tutorial (#7887) 2016-10-11 12:08:41 +01:00
Michael O'Brien 1f605930cc Update comment to refer to correct method name (#7873) 2016-10-04 22:53:49 +01:00
Kateryna 9a9a6cf10b 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 19:33:46 +01:00
ankitml 6ac0bbfd17 Use ES6 in Language Tooling doc 2016-10-04 12:52:01 +01:00
Marcelo Alves 75e9127216 Fix minor typo in closing H1 tag (#7855) 2016-10-04 12:23:12 +01:00
KeicaM 1d099c001f Update 04-multiple-components.md (#7861)
added missing map bracket
2016-10-04 12:20:59 +01:00
Eric Douglas 53d16f86fd Update babel link (#7837)
(cherry picked from commit e32196222b)
2016-10-03 15:54:27 -07:00
Gil Chen-Zion 586f487ea9 Note that getInitialState is not used in ES6 classes in docs (#7748)
(cherry picked from commit a2bb55e3f4)
2016-10-03 15:54:26 -07:00
Ben Alpert 03e7900edb Update remarkable to 1.7.1 (#7851)
Fixes a subtle XSS hole.
(cherry picked from commit f88c1d38be)
2016-10-03 14:25:07 -07:00
ankitml 345329e079 Keyed Fragment of AddOns ported to ES6 2016-10-03 21:45:37 +01:00
Alex Zherdev f5798f729d Add-Ons: Animation updated with ES6 examples 2016-10-03 21:30:33 +01:00
Rafael Angeline dcd34ab6c1 Reusable Components ES6 Update 2016-10-03 21:02:43 +01:00
gillchristian 8a78b2497a Docs to ES6: Displaying data example. 2016-10-03 19:22:53 +01:00
Christoph Pojer 9a6ef44a06 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

(cherry picked from commit 0990c93806)
2016-09-27 19:08:40 -07:00
imjanghyuk 0c59b3c71f Update 07-forms.ko-KR.md (#7809)
fix spelling
(cherry picked from commit 6032491555)
2016-09-26 16:09:24 -07:00