Jim
178fe648de
Merge pull request #5611 from dittos/irc-remove-2ndarg
...
Clean up caller sites of instantiateReactComponent
2015-12-06 05:01:15 -08:00
Taeho Kim
14725ba768
Clean up caller sites of instantiateReactComponent
...
The 2nd argument was removed since #4139 .
2015-12-06 17:31:30 +09:00
Paul O’Shannessy
856eb72b4f
Merge pull request #5593 from zwhitchcox/patch-3
...
Remove dead code
2015-12-04 15:57:27 -08:00
zwhitchcox
b15c80696c
Remove dead code
...
This isn't used anywhere in React
2015-12-04 18:28:37 -05:00
Paul O’Shannessy
3faf9569d4
[blog] Diversity Scholarship 2016
2015-12-04 14:51:12 -08:00
Paul O’Shannessy
67663ba2c9
Merge pull request #5603 from henryw4k/patch-3
...
chore(ReactComponentWithPureRenderMixin.js): made "Mixin" lowercase
2015-12-04 13:08:58 -08:00
Paul O’Shannessy
4f9d8c31b8
Merge pull request #5600 from zwhitchcox/patch-4
...
Change release to multi task
2015-12-04 13:08:08 -08:00
Ben Alpert
2f77367863
Merge pull request #5595 from remko/select-bug
...
Fix single select incorrectly updating
2015-12-04 11:12:23 -08:00
Henry Wong
4a971c2d1c
chore(ReactComponentWithPureRenderMixin.js): made "Mixin" lowercase
...
When referring to mixin, the rest of the comment is in lowercase; see line 36 and line 37.
This change helps with the consistency of the usage of "mixin", and not to confuse it with a variable name.
2015-12-04 11:12:07 -08:00
zwhitchcox
c77f0b2fc5
Change release to multi task
...
More concise and consistent with the other multitasks
2015-12-04 13:29:58 -05:00
Remko Tronçon
7d699f4063
Fix single select incorrectly updating
...
Closes #5592
2015-12-04 11:21:02 +01:00
Jim
f4744f3a70
Merge pull request #5588 from jimfb/setprops-replaceprops-deprecated
...
Increase severity of setprops and replaceprops deprecations, since their removal is now imminent.
2015-12-03 10:29:20 -08:00
jim
8c7603311a
Increase severity of setprops and replaceprops deprecations, since their removal is now imminent.
2015-12-03 04:08:53 -08:00
Jim
526d5c0edc
Merge pull request #5589 from wrakky/fix-minlength-docs
...
Rename minlength to minLength in the tags and attributes documentation page
2015-12-03 04:04:45 -08:00
Peter Newnham
31253c251f
Rename minlength to minLength in the tags and attributes documentation page
2015-12-03 09:35:08 +00:00
Jim
50c7b1792c
Merge pull request #5570 from jimfb/remove-setprops-replaceprops
...
Remove setProps and replaceProps.
2015-12-02 19:09:19 -08:00
Paul O’Shannessy
0be7786e1c
Merge pull request #5559 from shogunsea/docs-add-marked
...
[docs]Add marked source in tutorial doc
2015-12-02 11:30:49 -08:00
Paul O’Shannessy
3ca15b0090
Merge pull request #5584 from zwhitchcox/patch-2
...
Update ref-10-glossary.md
2015-12-02 11:14:22 -08:00
zwhitchcox
b0ae955977
Update ref-10-glossary.md
2015-12-02 08:52:51 -05:00
Scott Feeney
8557cc0d67
Merge pull request #5561 from graue/setstate-cwm
...
shallow render: fix setState in componentWillMount
2015-12-01 19:49:15 -08:00
Scott Feeney
9c21e2f3c4
shallow render: fix setState in componentWillMount
2015-12-01 19:43:52 -08:00
Ben Alpert
6b3ee0e74d
Merge pull request #5576 from spicyj/log-top-level
...
Log top-level renders with console.time
2015-12-01 11:34:40 -08:00
Ben Alpert
a0f88d29df
Log top-level renders with console.time
...
Behind a flag.
2015-12-01 11:29:13 -08:00
Paul O’Shannessy
f5840e685e
Merge pull request #5581 from yuyokk/patch-1
...
Update 08.1-more-about-refs.md
2015-12-01 11:03:59 -08:00
Iurii Kucherov
36dfe62f68
Update 08.1-more-about-refs.md
2015-12-01 19:28:34 +01:00
Paul O’Shannessy
13c398bef6
Merge pull request #5536 from zpao/keys-on-prototypes
...
Don't use `key` when defined on String, Number prototypes
2015-11-30 23:33:26 -08:00
xxin
25ef456b13
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
jim
fbf81a8435
Remove setProps and replaceProps.
2015-11-30 11:46:07 -08:00
Jim
940a75b1fe
Merge pull request #5564 from jackiewung/master
...
Fix file reference typo in starter
2015-11-30 09:34:15 -08:00
Jackie Wung
f1d3f78334
Fix file reference typo in starter
2015-11-29 18:07:31 -08:00
Paul O’Shannessy
34fbcf20d8
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
f48bb3a274
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
6b641de6b8
Merge pull request #5546 from cody/singlechild
...
[docs] Single Child
2015-11-28 11:46:47 -08:00
Paul O’Shannessy
d54b151bc2
Merge pull request #5556 from timuric/patch-1
...
Avoid mutating state in the example code
2015-11-28 11:30:35 -08:00
Timur Carpeev
1e98c78541
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
ed8727ade7
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
8248470bd9
Merge pull request #5547 from spicyj/mc-noq
...
Kill global queue in ReactMultiChild
2015-11-25 13:13:01 -08:00
Ben Alpert
418ba27485
Kill global queue in ReactMultiChild
...
As we move away from using HTML for updates, this becomes less useful.
2015-11-25 12:59:02 -08:00
Ben Alpert
08499f9938
Turn on useCreateElement by default
...
Facebook has been running with this on for a couple weeks now with no ill effects.
2015-11-25 12:59:01 -08:00
Ben Alpert
3722616349
Merge pull request #5543 from spicyj/rt103
...
Clarify wording in the tutorial
2015-11-25 09:37:28 -08:00
Stefan Dombrowski
c6025da952
[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
54e6057b1a
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
Paul O’Shannessy
e95d3dd812
Merge pull request #5539 from matthewlooi/addCodeHighlightToTutorialDoc
...
Add highlight to a line of code to tutorial21.js
2015-11-24 09:44:03 -08:00
Ben Alpert
58901af7a6
Clarify wording in the tutorial
...
reactjs/react-tutorial#103
2015-11-24 09:30:33 -08:00
hejld
18a3a3979e
Add missing sections to events reference page in IT and CN
2015-11-24 15:56:58 +01:00
Matthew
e02bd0543f
add highlight to a line of code to tutorial20.js (all languages included)
2015-11-24 01:23:55 -05:00
Paul O’Shannessy
f44a0778e3
Don't use key when defined on String, Number prototypes
2015-11-23 15:33:34 -08:00
Paul O’Shannessy
d01188133e
Merge pull request #5533 from kryogenic/patch-1
...
Use null instead of '' in ternary expression
2015-11-23 12:12:14 -08:00
Kale
b74e53c3ca
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
Paul O’Shannessy
7ea1d15197
Merge pull request #5524 from chenglou/woohoo-its-me
...
Remove unreachable return from shouldUpdateReactComponent
2015-11-22 18:54:17 -08:00