Paul O’Shannessy
66896c4db2
Merge pull request #5559 from shogunsea/docs-add-marked
...
[docs]Add marked source in tutorial doc
2015-12-02 11:30:49 -08:00
zwhitchcox
926f17219c
Update ref-10-glossary.md
2015-12-02 08:52:51 -05:00
Iurii Kucherov
edb5c824f3
Update 08.1-more-about-refs.md
2015-12-01 19:28:34 +01:00
xxin
fc5bd6b06f
add marked source in tutorial doc
...
update wording of later section
no first, no next
more on wording
2015-11-30 19:08:11 -06:00
Paul O’Shannessy
4555b0a1a8
Merge pull request #5526 from yangshun/todo-app-id
...
[docs] Use id for TodoApp example
2015-11-28 11:58:20 -08:00
Paul O’Shannessy
dc43df8851
Merge pull request #5520 from mhujer/docs-spread-fix-babel
...
Docs: Transform rest and spread properties using Babel 6
2015-11-28 11:47:30 -08:00
Paul O’Shannessy
32360bfd51
Merge pull request #5546 from cody/singlechild
...
[docs] Single Child
2015-11-28 11:46:47 -08:00
Timur Carpeev
e193bfb300
Avoid mutating state in the example code
...
According to react documentation it is advised to:
NEVER mutate this.state directly, as calling setState() afterwards may replace the mutation you made. Treat this.state as if it were immutable.
https://facebook.github.io/react/docs/animation.html
In this particular case it is probably doesn't matter since setState is called directly after mutation, but it does provide a bad example of state mutation.
Another way of removing an item from an array can be `newItems = this.state.slice(0,i).concat(this.state.slice(i+1))` however the meaning can be less obvious to some.
2015-11-27 12:33:57 +01:00
Martin Hujer
8f952eecd6
Transform rest and spread properties using Babel 6
...
> Out of the box Babel doesn't do anything. In order to actually do
> anything to your code you need to enable plugins.
> (https://babeljs.io/docs/plugins/ )
2015-11-26 09:17:01 +01:00
Ben Alpert
35ff6123fe
Merge pull request #5543 from spicyj/rt103
...
Clarify wording in the tutorial
2015-11-25 09:37:28 -08:00
Stefan Dombrowski
4a80d994d4
[docs] Single Child
...
* Single Child belongs to Prop Validation, so it was moved there.
* "throw" was changed to "warn".
2015-11-25 17:34:40 +01:00
Paul O’Shannessy
f57c827268
Merge pull request #5523 from hejld/add-selection-and-composition-events-on-reference-page
...
[docs] Add missing sections to events reference page in IT and CN
2015-11-24 09:44:49 -08:00
Ben Alpert
5985d97df3
Clarify wording in the tutorial
...
reactjs/react-tutorial#103
2015-11-24 09:30:33 -08:00
hejld
662c897ed4
Add missing sections to events reference page in IT and CN
2015-11-24 15:56:58 +01:00
Matthew
a9749dc694
add highlight to a line of code to tutorial20.js (all languages included)
2015-11-24 01:23:55 -05:00
Kale
cf5236600c
Use null instead of '' in ternary expression
...
A blank string ('') resolves to <span></span> which produces a warning when place inside a <tr>
2015-11-23 06:38:08 -07:00
Tay Yang Shun
e3e3717b22
[docs] Use id for TodoApp example
2015-11-22 11:54:39 +08:00
Martin Hujer
981d6d0814
Rest/Spread Properties may not be part of ES7
...
According to the http://www.2ality.com/2015/11/tc39-process.html it is
not a good idea to guess target ES version until the proposal reaches
later phases.
Even the proposal repository now states
> It is a Stage 2 proposal for ECMAScript. <
(it has been changed in e9813ac78a )
2015-11-20 19:36:29 +01:00
Paul O’Shannessy
8702af60d9
Merge pull request #5511 from KeweiCodes/patch-1
...
Typo
2015-11-19 15:56:25 -08:00
Kewei Jiang
bd733ea014
Typo
2015-11-20 10:01:29 +13:00
Tay Yang Shun
19509ed012
Add in missing closing </li> for docs template
2015-11-20 00:56:25 +08:00
Paul O’Shannessy
923697c298
update website for 0.14.3
...
(cherry picked from commit 3f2f763dea095951258306289d8f196931c530c8)
2015-11-18 22:39:49 -08:00
Paul O’Shannessy
f7bfbe4d71
v0.14.3 blog post
...
(cherry picked from commit f92a630737ada4093401e55c661637a19bb362e6)
2015-11-18 22:39:49 -08:00
Tay Yang Shun
5ab2016f32
[docs] Use controlled components for tutorial
2015-11-18 14:43:03 +08:00
Jim
029b4ad70e
Added info (example+doc) about react with webcomponents
2015-11-13 20:22:24 -08:00
Paul O’Shannessy
f72915db12
[docs] Properly fix Korean docs
2015-11-12 15:57:17 -08:00
Paul O’Shannessy
a1c7c33efa
[docs] Use updated Korean translation
...
See #5456 for details
2015-11-12 14:23:52 -08:00
Paul O’Shannessy
233fb7cf76
[tutorial] Use ids in comments data
2015-11-12 14:20:54 -08:00
Hugo Agbonon
f98b6c74bd
Revert class name manipulation doc to english
2015-11-12 11:32:08 +01:00
Tay Yang Shun
5dd96fd0e2
Add more documentation to Context page
2015-11-11 07:06:56 +08:00
Paul O’Shannessy
1cc25362bc
Merge pull request #5416 from bbrooks/undo-optimistic-update-on-error
...
Reset state if comment submit fails
2015-11-10 14:42:28 -08:00
Jim
ae60862f96
Merge pull request #5403 from yuyokk/patch-1
...
Clarify note about stable keys
2015-11-10 10:28:49 -08:00
Iurii Kucherov
95955dc573
State that Math.random() is not a good way to generate keys
2015-11-10 19:02:50 +01:00
Matt Stow
d8cda14703
Removed unnecessary whitespace before closing bracket
2015-11-09 15:10:01 +11:00
Ben Brooks
7e60ed05d7
Reset state if comment submit fails
2015-11-07 13:26:17 -05:00
Ben Alpert
47aac4be24
Merge pull request #5287 from benhalpern/patch-1
...
Updated conference page
2015-11-05 13:58:46 -08:00
benhalpern
853419e694
Fixed ReactEurope date
2015-11-05 15:33:52 -05:00
Jim
a54ac8bd9a
Merge pull request #5231 from davidkpiano/patch-1
...
Updating "JSX Gotchas" docs for Custom Attributes
2015-11-05 09:43:36 -08:00
Paul O’Shannessy
bf9709734d
Update website for 0.14.2
...
(cherry picked from commit fdf6f6bbb0b1a07f198d5b4be4faa7c82a78bca8)
2015-11-04 17:38:31 -08:00
Paul O’Shannessy
26e8b9b89c
Blog post for 0.14.2
...
(cherry picked from commit a4fd08973bb7d41d1d36420c76f69142e8d102f6)
2015-11-04 17:38:31 -08:00
Arkist
814973f33a
Update Korean translation to 84af306
2015-11-05 06:56:48 +09:00
Jim
d5f0b93808
Merge pull request #5372 from csbok/patch-1
...
Update getting-started.ko-KR.md
2015-11-03 03:44:31 -08:00
Ben Alpert
33acce9993
Merge pull request #5356 from rpominov/patch-1
...
fix shallowRenderer.getRenderOutput() return type in docs
2015-11-02 17:27:08 -08:00
csbok
54eddb3091
Update getting-started.ko-KR.md
...
correcting misspelled words
2015-11-03 09:56:41 +09:00
Paul O’Shannessy
ac591bc96b
[docs] Update tooling integration for more babel 6
2015-11-02 13:10:40 -08:00
Paul O’Shannessy
9dfe204a82
[docs] Update Getting Started for babel 6
2015-11-02 12:56:30 -08:00
Roman Pominov
485688f8c4
fix shallowRenderer.getRenderOutput() return type in docs
2015-11-01 16:54:41 +03:00
Ludovico Fischer
3a11e9b4cd
Correct Babel 6 command line usage instructions.
...
The user should install the babel-cli package, see http://babeljs.io/docs/usage/cli/ .
2015-11-01 00:17:16 +01:00
Henry Zhu
9b5ec2df00
add docs for babel 6
2015-10-31 14:34:20 -04:00
Paul O’Shannessy
5a90af8ecf
Merge pull request #5235 from wincent/update-blog-syntax
...
Update syntax in older Relay blog post that may be causing confusion
2015-10-29 23:14:19 -07:00