Yura Chuchola and Kevin Lacker
abeae306e5
Update forms.md ( #8136 )
...
The component Form in "Uncontrolled Radio Button" example doesn't need state, because it does not used in render() method.
2016-10-31 17:35:20 -07:00
Skasi and Dan Abramov
abf37ea484
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-10-31 11:42:02 +00:00
Eugene and Dan Abramov
0e23880d22
Update reference-react-component.md ( #8126 )
...
line 320: For example, this code ensures that the `color` prop is a string
2016-10-27 19:25:43 +01:00
Dan Abramov and GitHub
e1b140225a
Clarify how transition props work ( #8124 )
2016-10-27 14:21:34 +01:00
Andreas Möller and Dan Abramov
1e126c29dd
Fix: Remove unneeded else branches from documentation examples
2016-10-27 13:12:37 +01:00
Dan Abramov
a4b9abff42
Consistent CodePen links in docs
2016-10-27 13:06:09 +01:00
Lewis Blackwood and Dan Abramov
dba8f25854
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:01:04 +01:00
王晓勇 and Dan Abramov
e3688d1fa3
Update forms.md ( #8121 )
2016-10-27 10:26:31 +01:00
Dan Abramov
cc3dc21be0
Tweak Forms
2016-10-27 02:02:29 +01:00
Eric Nakagawa and Dan Abramov
552033e33b
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 00:14:08 +01:00
Eric Nakagawa and Kevin Lacker
47e665a2fc
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-26 13:45:25 -07:00
Alex Katopodis and Dan Abramov
2ba571c246
Fix typo in reconciliation.md ( #8110 )
2016-10-26 17:13:55 +01:00
Jae Hun Lee and Dan Abramov
ce2dee32fd
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-26 14:17:21 +01:00
Toru Kobayashi and Dan Abramov
d49dfe7da4
Fix an argument name of TestUtils.renderIntoDocument ( #8104 )
2016-10-26 13:44:46 +01:00
Constantin Gavrilete and Brandon Dail
82d592a0fa
removed duplicated 'the' ( #8081 )
2016-10-24 17:34:58 -05:00
Dan Abramov and GitHub
e1ee94ca17
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 and Dan Abramov
8333b891e4
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 and GitHub
156639241e
Remove references to createClass in createElement docs ( #8064 )
2016-10-23 15:48:58 +01:00
Dan Abramov and GitHub
46eca10046
Link to lifecycle methods from Context doc ( #8062 )
2016-10-23 14:35:23 +01:00
Alireza Mostafizi and Dan Abramov
e527b3a464
Update handling-events.md ( #8057 )
2016-10-23 13:44:29 +01:00
Giuseppe and Dan Abramov
74026fd9ea
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 and Dan Abramov
57f07777ef
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 and Dan Abramov
38c22252f4
Replace vars with let and const ( #8051 )
2016-10-22 21:55:29 +01:00
Nathan Hardy and Dan Abramov
f7cb6cbe15
Fix erroneous '}' in JSX examples ( #8043 )
2016-10-22 21:45:29 +01:00
Cody Reichert and Dan Abramov
4d3c5ea23c
Fix anchor link for displayName ( #8040 )
2016-10-22 21:44:51 +01:00
Ragnar Þór Valgeirsson and Dan Abramov
7340fa9d93
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 and GitHub
4812f26915
Update components-and-props.md
...
fb indent style
2016-10-21 18:30:25 -07:00
Christopher Chedeau and GitHub
eb118b7037
Update react-without-jsx.md
...
Facebook codestyle
2016-10-21 14:30:35 -07:00
Dan Abramov
d1a61ee7f4
Fix redirects
2016-10-21 22:02:30 +01:00
Dan Abramov
1f818f2740
Minor doc tweaks
2016-10-21 21:47:43 +01:00
Kevin Lacker and Dan Abramov
455d2d1b48
New Documentation
2016-10-21 20:59:08 +01:00
Ujjwal Ojha and Brandon Dail
575727100a
Fix typo ( #7909 )
2016-10-12 09:49:56 -05:00
Colin Wren and Dan Abramov
7aa621daee
Fix typo in more-about-refs.md ( #7933 )
2016-10-11 11:56:34 +01:00
Sophia and Dan Abramov
2a2dd7689f
removing parent/child references in props section of tutorial ( #7887 )
2016-10-05 22:29:55 +01:00
Michael O'Brien and Dan Abramov
48ea2d4743
Update comment to refer to correct method name ( #7873 )
2016-10-04 22:53:26 +01:00
Kateryna and Dan Abramov
c9ec4bc445
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 and Dan Abramov
eddcee9884
Use ES6 in Language Tooling doc
2016-10-04 12:51:42 +01:00
KeicaM and Dan Abramov
f96237cdb8
Update 04-multiple-components.md ( #7861 )
...
added missing map bracket
2016-10-04 12:19:44 +01:00
Marcelo Alves and Brandon Dail
23cd77b683
Fix minor typo in closing H1 tag ( #7855 )
2016-10-03 19:07:56 -05:00
Ben Alpert and Paul O’Shannessy
f88c1d38be
Update remarkable to 1.7.1 ( #7851 )
...
Fixes a subtle XSS hole.
2016-10-03 14:22:06 -07:00
ankitml and Dan Abramov
a6445a18f9
Keyed Fragment of AddOns ported to ES6
2016-10-03 21:45:27 +01:00
Alex Zherdev and Dan Abramov
1b02c731ce
Add-Ons: Animation updated with ES6 examples
2016-10-03 21:30:22 +01:00
Rafael Angeline and Dan Abramov
9174c29acc
Reusable Components ES6 Update
2016-10-03 21:02:32 +01:00
gillchristian and Dan Abramov
f5f1769583
Docs to ES6: Displaying data example.
2016-10-03 19:21:44 +01:00
Eric Douglas and Paul O’Shannessy
e32196222b
Update babel link ( #7837 )
2016-09-30 13:39:23 -07:00
Gil Chen-Zion and Paul O’Shannessy
a2bb55e3f4
Note that getInitialState is not used in ES6 classes in docs ( #7748 )
2016-09-28 19:07:29 -07:00
Christoph Pojer and Christopher Chedeau
0990c93806
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 and Paul O’Shannessy
6032491555
Update 07-forms.ko-KR.md ( #7809 )
...
fix spelling
2016-09-26 14:02:33 -07:00
jinmmd and Paul O’Shannessy
d9957ac075
Change [入门教程] from "tutorial.html" to "tutorial-zh-CN.html" ( #7789 )
2016-09-26 10:39:34 -07:00
jinmmd and Paul O’Shannessy
5331dfd1a5
Change [API参考] from "top-level-api.html" to "top-level-api-zh-CN.html" ( #7790 )
2016-09-26 10:39:03 -07:00