Dan Abramov and Flarnie Marchan
1e68095b91
Minor tutorial nits
2017-06-12 16:33:39 -07:00
Dan Abramov and Flarnie Marchan
17d5b63e36
Fix duplicate sentence
2017-06-12 16:33:39 -07:00
Dan Abramov and Flarnie Marchan
0103dd1d38
Minor tweaks to tutorial
2017-06-12 16:33:39 -07:00
Frankie Bagnardi and Flarnie Marchan
28c914decf
[Tutorial] ES6, installation, and button closing tag ( #9441 )
...
* adds notes to tutorial on es6 and installation
* fixes tutorial mention of opening button tag
* More writing
* Update
2017-06-12 16:33:39 -07:00
hanumanthan and Flarnie Marchan
a5d07f0cac
Lift state up - Updating the documentation to mention that onClick is a synthetic event handler ( #9427 )
...
* Lift state up - Updating the documentation to mention that onClick is a synthetic event handler
* Review comments - Rephrase to handle synthetic events and event handler patterns
* Tweak
(cherry picked from commit 53a3939fb0 )
2017-06-12 16:33:39 -07:00
Fokke Zandbergen and Dan Abramov
c7d14df920
Square renders button, not div ( #9084 )
...
(cherry picked from commit 8eb7068364 )
2017-03-09 20:44:06 +00:00
Dai Nguyen and Dan Abramov
c04ced9c7e
Update tutorial.md ( #9051 )
...
(cherry picked from commit d724aed404 )
2017-03-09 20:44:05 +00:00
Dan Abramov
4a2fad0d04
Fix indentation in tutorial ( #8914 )
...
(cherry picked from commit 9e3a31b2c6 )
2017-02-02 13:25:22 +00:00
Eduard and Dan Abramov
2d130bfba2
Update tutorial.md ( #8896 )
...
* Update tutorial.md
The status <div> used in Board can be deleted as well from render.
* Little tweaks
(cherry picked from commit dc04ee87ae )
2017-02-02 13:25:22 +00:00
Tiago Fernandez and Dan Abramov
d5eb5a23c6
Link to CodePen editor rather than final result ( #8849 )
...
People want to see the final JS/CSS/HTML, and the final result is already displayed by CodePen.
(cherry picked from commit 05f5bf6eb6 )
2017-02-02 13:25:22 +00:00
Jeffrey Wan and Dan Abramov
73a6762fe2
Update tutorial.md ( #8792 )
...
* Update tutorial.md
* Fix quoting to be consistent
(cherry picked from commit 3f5482ee20 )
2017-02-02 13:25:22 +00:00
John Longanecker and Dan Abramov
952b7dec91
Lifting State Up more legible ( #8691 )
...
(cherry picked from commit b8f0522cc6 )
2017-02-02 13:25:22 +00:00
Faheel Ahmad and Brandon Dail
632b53edde
I -> we ( #8817 )
...
(cherry picked from commit c8a41672ed )
2017-01-18 12:45:34 -06:00
cloudy1 and Dan Abramov
e453eebe3f
Update tutorial.md ( #8328 )
...
* Update tutorial.md
fix "unknown: Unexpected token" in "codepen.io".
* tweaks per suggestion
2017-01-04 15:54:57 +00:00
Mikhail Osher and Dan Abramov
91676a619a
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:54:22 +00:00
Tanner and Dan Abramov
d7db851253
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-17 14:35:21 +00:00
Dave Voyles and Dan Abramov
d220385c53
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-17 14:35:04 +00:00
Kevin Lacker and Dan Abramov
3fe1664601
Docs: add a bunch of redirects ( #8137 )
...
* add a bunch of redirects
* add more redirects
2016-11-08 19:32:31 +00:00
bel3atar and Dan Abramov
e2a70ac0ea
add missing verb ( #8139 )
...
`why is an` should be `why it is an`
2016-11-08 19:20:28 +00:00
Lutz Rosema and Dan Abramov
ca8ddfda02
Use const instead of var ( #8107 )
...
It clarifies that `history` and `current` won't be reassigned.
2016-10-27 01:10:15 +01:00
Marcio Puga and Dan Abramov
933898b457
Fix typos ( #8067 )
2016-10-24 15:52:46 +01:00
Andrew Poliakov and Dan Abramov
6a89bc9be0
Update tutorial.md, Taking Turns ( #8058 )
2016-10-23 13:52:00 +01:00
William Hoffmann and Dan Abramov
b06fd4b36d
Fix typo ( #8056 )
2016-10-23 13:51:31 +01:00
Jun Kim and Dan Abramov
2d37da10db
Fix illogical code in tutorial.md ( #8048 )
...
The tutorial wants to throw a 'warning' and explains about 'key' of React's list, but it throws nothing since there is sensible key.
"key={move}" should be removed, and added after explaining about key.
2016-10-23 13:51:04 +01:00
Jason Grlicky and Dan Abramov
b46d90e09d
Fix for typos ( #8046 )
2016-10-23 13:50:51 +01:00
Jun Kim and Dan Abramov
b82f13546f
Fix typo in tutorial.md ( #8047 )
...
changges -> changes
2016-10-22 22:07:06 +01:00
Taeho Kim and Dan Abramov
3979c734a2
Fix typo in new tutorial code ( #8045 )
2016-10-22 22:06:54 +01:00
BEAUDRU Manuel and Dan Abramov
a7cb3ace36
Wrong library name reference in tutorial.MD ( #8038 )
...
* Update tutorial.md
Seems like you are talking about immutable.js and not immutability.js which doesn't exist :)
* Capitalize Immutable.js
2016-10-22 22:05:40 +01:00
Dan Abramov
60ec3c6b37
Fix redirects
2016-10-21 22:01:06 +01:00
Kevin Lacker and Dan Abramov
1cf81c1aa9
New Documentation
2016-10-21 21:00:10 +01:00