comerc and Brandon Dail
f04316cd58
Fix casing typo in jsx-in-depth.md ( #8542 )
2016-12-11 07:43:40 -06:00
Chris and Brandon Dail
820021c27a
update example to use this.state ( #8425 )
...
- In the previous example, the code works even without using bind(this) in the constructor.
- the reason being handleClick doesn't even use `this` and its just calling the global function alert.
- this change make use of this via access this.state.
2016-12-11 07:41:48 -06:00
Liz and Sebastian Markbåge
3dbb4218eb
👏 designers are friends, not fodder for jokes ( #8523 )
2016-12-07 15:09:37 -08:00
Brandon Dail and GitHub
836ab43edb
Merge pull request #8476 from AlanBreck/patch-1
...
Update reference-react.md
2016-12-02 09:16:39 -06:00
lucas
56289cded0
Add return to render
2016-12-01 19:21:40 -03:00
Jacob Lamont and GitHub
72cbf5288f
Update reference-react.md
2016-12-01 14:35:48 -05:00
cloudy1 and Kevin Lacker
a67ab03057
Update tutorial.md ( #8328 )
...
* Update tutorial.md
fix "unknown: Unexpected token" in "codepen.io".
* tweaks per suggestion
2016-11-29 13:00:33 -08:00
Andrew Clark and Kevin Lacker
282caf8602
Add a document on higher-order components ( #7869 )
2016-11-29 10:47:54 -08:00
Fatih and Dan Abramov
5393b2780b
fix typo 'miss-configured' to 'misconfigured' ( #8412 )
2016-11-24 14:52:53 +00:00
brillout and Dan Abramov
3da9d79c54
remove dead link ( #8411 )
2016-11-24 14:35:48 +00:00
Richard Maisano and Dan Abramov
501d25bf07
Add a couple missing SVG tags to DOM Elements docs ( #8383 )
...
My first contribution to React!
While upgrading a React project, I found some suspect SVG that needed updating, so I dug in after checking the docs. I knew that support for some SVG properties had been added (namely `xmlns` and `xmlnsXlink`), but I noticed them missing from the reference's attribute list. This pull request updates `reference-dom-elements.md` by adding said properties.
2016-11-22 18:50:11 +00:00
Dan Abramov and GitHub
9e3ec6a4dd
Revert "Stop relying on variable hoisting" ( #8381 )
2016-11-22 15:19:45 +00:00
Linus Unnebäck and Dan Abramov
02f2811c00
Stop relying on variable hoisting ( #8380 )
...
Only declare the variable once in this scope, instead of declaring them multiple times in the same scope.
This fixes #8318 , even though it might technically be a shortcoming in Rollup.
2016-11-22 15:18:10 +00:00
Mikhail Osher and Dan Abramov
e992f5cdfe
Fix object spread operator ( #8378 )
...
Object spread operator performs shallow copy of object's arguments, so it should be placed before new properties are assigned.
2016-11-22 15:01:23 +00:00
Simen Bekkhus and Dan Abramov
7729a47841
Fix link to PureComponent in docs ( #8375 )
2016-11-22 11:09:07 +00:00
Michael Sinov and Dan Abramov
918706371c
update react-without-es6.md ( #8351 )
2016-11-19 18:19:16 +00:00
Dan Abramov and GitHub
f53d4dd96c
Merge pull request #8346 from shubheksha/docs/improve-state-and-lifecycle
...
Improved sections of state and lifecycle docs
2016-11-18 18:24:27 +00:00
Dan Abramov and GitHub
ba4cd9bba8
Minor changes, make it more verbose
2016-11-18 18:24:15 +00:00
Shubheksha Jalan
7044284c1e
Improved sections of state and lifecycle docs
2016-11-18 22:14:27 +05:30
Dan Abramov and GitHub
262397ee06
Merge pull request #8345 from shubheksha/docs/improve-introducing-jsx
...
Improved some sections of the introducing JSX docs
2016-11-18 16:20:48 +00:00
Dan Abramov and GitHub
b4a14b98b0
Small nit: add a sentence about readability back
2016-11-18 16:20:17 +00:00
Shubheksha Jalan
0f5b4e872c
Improved some sections of the introducing JSX docs
2016-11-18 21:09:34 +05:30
Dan Abramov and GitHub
ee9da911a1
Merge pull request #8339 from nolanlawson/patch-1
...
Update 2016-11-16-react-v15.4.0.md
2016-11-18 12:27:16 +00:00
Dan Abramov and GitHub
43ca98d87e
Merge pull request #8332 from gaearon/prod-dev
...
[Docs] Expand Installation and clarify why use bundlers
2016-11-18 12:26:22 +00:00
Dan Abramov and GitHub
846236458c
Nits
2016-11-18 12:26:06 +00:00
Dan Abramov and GitHub
0bb536a221
Nit
2016-11-18 12:25:23 +00:00
Nolan Lawson and GitHub
00b2c8f335
Update 2016-11-16-react-v15.4.0.md
...
Edge and IE11 both show user marks and measures in the Dev Tools, so it's technically not accurate to say that only Chrome has this feature.
2016-11-17 15:53:41 -08:00
Kevin Lacker
00e292d563
add link to useful doc
2016-11-17 10:49:02 -08:00
Dan Abramov
72af0cc753
Update installation instructions on the blog
2016-11-17 16:05:49 +00:00
Dan Abramov
33a292f203
Explain Installation in more detail
2016-11-17 15:55:56 +00:00
Dan Abramov and GitHub
7225a5c0fb
Merge pull request #8317 from marcysutton/master
...
docs(forms): add missing labels to forms doc
2016-11-17 14:25:03 +00:00
Dan Abramov
8f5a4f59da
Tweak examples
2016-11-17 14:23:20 +00:00
Kevin Lacker and GitHub
f914375753
include the version number in the header ( #8315 )
2016-11-16 16:26:21 -08:00
Marcy Sutton and GitHub
0bc703eae5
fix(a11y): add missing labels to forms doc
...
Showing how to create a form without labeling inputs is an accessibility anti-pattern. This change adds labels to the examples to address that. Codepen may still need to be updated depending on how that example is created.
2016-11-16 14:32:42 -08:00
Dave Voyles and Kevin Lacker
246b931007
Clarity on constructor of Board object for tutorial.md ( #8224 )
...
* Update tutorial.md
Is it possible to be more clear here?
This implies that we are removing the constructor from GAME, and not board (which is what I believe the author is trying to say).
It took me several reads to understand.
With this edit, it is now clear that the adjustment is being made to -Board- and not to -Game-
* also remove "for Board earlier"
2016-11-16 13:24:45 -08:00
Tanner and Kevin Lacker
df53fef16f
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
2016-11-16 11:59:16 -08:00
tomocchino
7bf98b47c4
Update website for 15.4.0
...
(cherry picked from commit 5ce8853ccb2e4677eb6a9d183e8086fd0d6367d4)
2016-11-16 14:51:47 +00:00
Dan Abramov
83af045074
Add 15.4.0 blog post
2016-11-16 14:36:20 +00:00
Brandon Dail and GitHub
d4761d8d4a
Merge pull request #8277 from qiuyuntao/master
...
docs: delete unnecessary brackets
2016-11-14 17:37:02 -06:00
Anastasia A and GitHub
c47f810e3f
Update reference-react-dom.md
...
Add missing closing bracket
2016-11-14 10:33:07 +03:00
yuntao.qyt
f27af62239
docs: delete unnecessary brackets
2016-11-13 16:29:18 +08:00
Samuel Scheiderich and Kevin Lacker
07fe702717
Add freenode #reactjs link to support.md ( #8270 )
...
* Add freenode #reactjs link to support.md
* Changed irc link to http webchat link.
2016-11-11 13:21:46 -08:00
Michele Bertoli and Dan Abramov
abff681876
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
2016-11-11 15:34:11 +00:00
Shuhei Kagawa and Dan Abramov
a6beb66ffc
Correct a method param in Implementation Notes ( #8252 )
2016-11-10 14:19:27 +00:00
Satoshi Nakajima and Dan Abramov
e57269d5e1
Replaced old refs with new callback refs ( #8254 )
2016-11-10 14:13:56 +00:00
Arni Fannar and Kevin Lacker
a0b7fcfa37
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.
2016-11-09 14:45:21 -08:00
Guilherme Oenning and Dan Abramov
eb908e9d50
fix broken docs links ( #8163 )
...
* fix broken links to outdated code
* another broken links to outdated code
* update hash commit & folder structure to current
2016-11-09 18:06:35 +00:00
Ville Immonen and Dan Abramov
4c738aa531
Remove string ref from function component example ( #8244 )
...
Refs can't be attached to stateless functional components.
2016-11-09 16:38:36 +00:00
Kevin Lacker and Dan Abramov
6e2daaff56
forms breakup
2016-11-08 21:38:03 +00:00
Samer Buna and Dan Abramov
fef9fc9223
Remove unnecessary findDOMNode calls ( #8198 )
2016-11-08 21:15:01 +00:00