Commit Graph
22 Commits
Author SHA1 Message Date
EduardandKevin Lacker 9b52bb2ca6 Update tutorial.md (#8896)
* Update tutorial.md

The status <div> used in Board can be deleted as well from render.

* Little tweaks
2017-02-01 18:12:00 -08:00
Tiago FernandezandKevin Lacker 8c042a2439 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.
2017-02-01 18:02:44 -08:00
Jeffrey WanandKevin Lacker 20776d818a Update tutorial.md (#8792)
* Update tutorial.md

* Fix quoting to be consistent
2017-02-01 17:42:19 -08:00
John LonganeckerandKevin Lacker e5ec539897 Lifting State Up more legible (#8691) 2017-02-01 17:31:01 -08:00
Faheel AhmadandDan Abramov 400d63973a I -> we (#8817) 2017-01-17 10:01:40 -08:00
cloudy1andKevin 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
Mikhail OsherandDan 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
Dave VoylesandKevin 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
TannerandKevin 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
Kevin LackerandDan Abramov aba443c528 Docs: add a bunch of redirects (#8137)
* add a bunch of redirects

* add more redirects
2016-11-08 19:32:02 +00:00
bel3atarandDan Abramov 87e57b8ab9 add missing verb (#8139)
`why is an` should be `why it is an`
2016-10-31 11:41:43 +00:00
Lutz RosemaandDan Abramov 1dc12fc9f1 Use const instead of var (#8107)
It clarifies that `history` and `current` won't be reassigned.
2016-10-26 15:20:09 +01:00
Marcio PugaandDan Abramov 05b9682efc Fix typos (#8067) 2016-10-24 13:50:04 +01:00
Andrew PoliakovandDan Abramov 8806add252 Update tutorial.md, Taking Turns (#8058) 2016-10-23 13:49:55 +01:00
William HoffmannandDan Abramov ca9bcb8e42 Fix typo (#8056) 2016-10-23 13:44:08 +01:00
Jason GrlickyandBen Alpert 103276ae4e Fix for typos (#8046) 2016-10-22 16:50:24 -07:00
Jun KimandBen Alpert 6ad417d563 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-22 16:49:07 -07:00
Jun KimandDan Abramov 05d697b3bd Fix typo in tutorial.md (#8047)
changges -> changes
2016-10-22 21:52:29 +01:00
Taeho KimandDan Abramov ee15854571 Fix typo in new tutorial code (#8045) 2016-10-22 21:46:51 +01:00
BEAUDRU ManuelandDan Abramov bdce935f41 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 21:43:15 +01:00
Dan Abramov b16252cdb9 Fix redirects 2016-10-21 22:02:30 +01:00
Kevin LackerandDan Abramov 011b9a9499 New Documentation 2016-10-21 20:59:08 +01:00