Tanner
27cf3a6615
Remove spread operator ( #8273 )
* Remove spread operator
I believe what was meant here was to express that you would create the new player object with all the previous properties of the existing player object in addition to now updating the score value. That being said, this is a simple example, and the player object clearly has no other values. Objects are not (by default) iterable using this operator, so this little piece does more harm than good. I believe the new example to be much clearer.
* Using Object.assign()
* Tweak wording
8 years ago
tomocchino
8d69cdbe11
Update website for 15.4.0
(cherry picked from commit 5ce8853ccb2e4677eb6a9d183e8086fd0d6367d4)
8 years ago
Dan Abramov
1c6398d4de
Add 15.4.0 blog post
8 years ago
Brandon Dail
9621017ec2
Merge pull request #8277 from qiuyuntao/master
docs: delete unnecessary brackets
8 years ago
Anastasia A
125153c109
Update reference-react-dom.md
Add missing closing bracket
8 years ago
yuntao.qyt
c96979bd75
docs: delete unnecessary brackets
8 years ago
Samuel Scheiderich
5de21ff49b
Add freenode #reactjs link to support.md ( #8270 )
* Add freenode #reactjs link to support.md
* Changed irc link to http webchat link.
8 years ago
Michele Bertoli
82802a0da9
Make the Shallow Rendering example clearer ( #8269 )
* Make the Shallow Rendering example clearer
I was reading through the documentation, and I found that the `render` call on the `renderer` was missing.
* Use a regular function to define MyComponent
8 years ago
Shuhei Kagawa
b1eabd709f
Correct a method param in Implementation Notes ( #8252 )
8 years ago
Satoshi Nakajima
1a5d504fb2
Replaced old refs with new callback refs ( #8254 )
8 years ago
Arni Fannar
10733f084a
Update refs-and-the-dom.md ( #8250 )
Since a lot of projects use [airbnb eslint config](https://www.npmjs.com/package/eslint-config-airbnb ) where [this rule](http://eslint.org/docs/rules/no-return-assign ) is enabled (and its a good rule) some people might get confused when they are trying this out in their project.
8 years ago
Guilherme Oenning
0087b527af
fix broken docs links ( #8163 )
* fix broken links to outdated code
* another broken links to outdated code
* update hash commit & folder structure to current
8 years ago
Ville Immonen
f8a328d6a5
Remove string ref from function component example ( #8244 )
Refs can't be attached to stateless functional components.
8 years ago
Kevin Lacker
809e28223e
forms breakup
8 years ago
Samer Buna
cc35432e9b
Remove unnecessary findDOMNode calls ( #8198 )
8 years ago
Nate
a24967fc25
Fix typos in Shallow Rendering Documentation ( #8226 )
* Fix typos in Shallow Rendering Documentation
* Fix another occurrence
8 years ago
Kevin Lacker
d068700a40
Docs: add a bunch of redirects ( #8137 )
* add a bunch of redirects
* add more redirects
8 years ago
Robert Haritonov
c305cfb160
Add React Amsterdam 2017 ( #8235 )
We've recently announced the dates for our next React Amsterdam edition, looking forward on adding it to the list.
8 years ago
Alex Baumgertner
4d2633215c
Fix method markdown highlight ( #8218 )
8 years ago
Brent Vatne
31e08aab47
Add Agent Conference to conferences docs ( #8196 )
* Add Agent Conference to conferences docs
* Move Agent Conference to upcoming conferences
8 years ago
Yura Chuchola
47215f9d06
Update forms.md ( #8136 )
The component Form in "Uncontrolled Radio Button" example doesn't need state, because it does not used in render() method.
8 years ago
Damien Soulard
8a54f20ee1
update-unknown-warning-page - add a reason for the warning ( #8131 )
* update-unknown-warning-page - add a reason for this warning
* Minor tweaks
8 years ago
Skasi
3ecb587b82
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."
8 years ago
bel3atar
ef1a438cec
add missing verb ( #8139 )
`why is an` should be `why it is an`
8 years ago
Lee Sanghyeon
4b89e83861
Update codebase-overview.md ( #8142 )
* Update codebase-overview.md
Fix the broken source code URL in 'Event System' section.
* Update codebase-overview.md
Re-fix link name
8 years ago
Andrew Lo
0a5be1bdcd
In the community support doc, I noticed that the React Facebook ( #8138 )
page link is broken since it's missing '.com'.
8 years ago
Gant Laborde
8a3839c3fa
Organize and add confs ( #8129 )
Upcoming proximity followed by past chronological.
8 years ago
Eugene
9c27104e9f
Update reference-react-component.md ( #8126 )
line 320: For example, this code ensures that the `color` prop is a string
8 years ago
Rick Beerendonk
99d139319f
Add React Remote Conf 2016. ( #8094 )
Add video links to some conferences.
8 years ago
Dan Abramov
30aee4908d
Clarify how transition props work ( #8124 )
8 years ago
Ivan Zotov
f342ae9de4
Improve devtools image size for the tutorial ( #8114 )
8 years ago
Andreas Möller
823154cbfc
Fix: Remove unneeded else branches from documentation examples
8 years ago
Dan Abramov
b47e2d77c5
Consistent CodePen links in docs
8 years ago
Varun Bhuvanendran
37e5c0e5c1
added word break ( #8120 )
8 years ago
Lewis Blackwood
3aa40ba6a3
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)`.
8 years ago
王晓勇
cc0050ddeb
Update forms.md ( #8121 )
8 years ago
Dan Abramov
74eac9addd
Tweak Forms
8 years ago
Eric Nakagawa
5b407f2379
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
8 years ago
Eric Nakagawa
e5ca6f513a
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
8 years ago
Alex Katopodis
4ff3c13f60
Fix typo in reconciliation.md ( #8110 )
8 years ago
Lutz Rosema
0ab8a03e93
Use `const` instead of `var` ( #8107 )
It clarifies that `history` and `current` won't be reassigned.
8 years ago
Jae Hun Lee
6e1411c4f1
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.
8 years ago
Toru Kobayashi
27cfc54d16
Fix an argument name of TestUtils.renderIntoDocument ( #8104 )
8 years ago
Constantin Gavrilete
4f96d680c7
removed duplicated 'the' ( #8081 )
8 years ago
Dan Abramov
16d8bd1ff6
Add more highlighting to docs ( #8076 )
* Tweak JSX in Depth
* Add highlighting to Refs and the DOM
* More tweaks
8 years ago
Marcio Puga
d9b777e174
Fix typos ( #8067 )
8 years ago
Ashish
d0e054114f
Docs : Fix createClass reference ( #8073 )
Currently react.createClass is wrongly referenced to #react.createclass. Changed it to #createclass!
8 years ago
Dan Abramov
063ed7aacd
Remove references to createClass in createElement docs ( #8064 )
8 years ago
Dan Abramov
8712f6daa0
Link to lifecycle methods from Context doc ( #8062 )
8 years ago
Andrew Poliakov
b2f368c6f4
Update tutorial.md, Taking Turns ( #8058 )
8 years ago