Christopher Chedeau
2822d63df2
Rename "Ice Lab studio" to "Icelab"
2014-07-28 11:48:25 +02:00
Christopher Chedeau
ba76ba8d4b
Merge pull request #1944 from shaneosullivan/patch-3
...
Fix small language nits
2014-07-28 11:46:55 +02:00
Ben Alpert
8cb2812cff
Merge pull request #1941 from divad12/animating-one-or-zero-items-docs
...
Clarify animating one or zero items in animation docs
2014-07-27 16:05:24 -07:00
Shane O'Sullivan
460ca72abb
Update 2014-07-28-community-roundup-20.md
2014-07-27 14:16:59 -07:00
Shane O'Sullivan
b606dac461
Fix small language nits
2014-07-27 13:44:47 -07:00
Ben Alpert
673e228af9
Merge pull request #1943 from shaneosullivan/patch-1
...
Fix typo for 'fundations'
2014-07-27 13:30:12 -07:00
Shane O'Sullivan
0c4b2728c8
Fix typo for 'fundations'
2014-07-27 13:29:12 -07:00
Ben Alpert
e30b60cc58
Wording tweaks to community roundup
2014-07-27 13:06:20 -07:00
Christopher Chedeau
88d0c81680
Merge pull request #1942 from LoukaN/roundup_20
...
Community Round-up #20
2014-07-27 14:19:55 +02:00
Vjeux
75ee7d05bb
Community Round-up #20
2014-07-27 13:55:20 +02:00
David Hu
721f397303
Clarify animating one or zero items in docs
...
When I first read these docs, it was not immediately clear to me that I could
use `React.addons.CSSTransitionGroup` to animate a single item coming into view,
or an item replacing an item already there. This was partly due to the example
which rendered a list of items.
This PR adds a blurb about being able to use
`React.addons.CSSTransitionGroup` with one or zero items, provides a code
example, and adds a note blockquote that a `key` attribute must always be
provided on each child of `React.addons.CSSTransitionGroup`. The latter point
was not immediately obvious from the original `TodoList` code example, since it
renders a list which would normally require `key` attributes anyway.
Test Plan:
- Refreshed `http://localhost:4000/react/docs/animation.html `, saw that the
docs additions rendered correctly.
- Example code not tested (it was extracted from working code).
2014-07-27 00:26:17 -07:00
Sebastian Markbage
c6b2687bbd
Partially revert React.createDescriptor
...
We still have some issues to work out when the type argument is a mock.
2014-07-25 16:48:10 -07:00
Paul O’Shannessy
d526456951
Delete ImmutableObject-test.js
...
Our syncing doesn't update these tests so just remove them.
2014-07-25 16:47:48 -07:00
Cheng Lou
aed2d86e7b
Merge pull request #1929 from zertosh/master
...
ReactTransitionChildMapping comment typo
2014-07-25 16:38:55 -07:00
Paul O’Shannessy
631705f31d
v0.11.1 release materials, update to 0.11.0 release materials
...
* 0.11.1 blog post, changelog
* Update to 0.11.0 post, changelog
* Update version in site, add starter kit
2014-07-25 12:59:56 -07:00
andres suarez
1961fecf2d
ReactTransitionChildMapping comment typo
2014-07-25 09:03:51 -04:00
Cheng Lou
af21aeb59f
Merge pull request #1924 from spicyj/autobind-bind
...
Use .bind when autobinding
2014-07-25 01:34:15 -07:00
Paul O’Shannessy
eb8f766005
[docs] increase base font-weight
...
Closes #1926
2014-07-24 21:01:20 -07:00
Cheng Lou
7f584f3a49
Merge pull request #1511 from syranide/strsidefx
...
HAS_SIDE_EFFECTS should compare by type-casting
2014-07-24 13:38:01 -07:00
Paul O’Shannessy
f76d4dd48f
Merge pull request #1770 from eins78/master
...
Also list <form> in error message as possible culprit
2014-07-24 12:53:19 -07:00
Ben Alpert
f1508c4937
Use .bind when autobinding
...
This eliminates all of the `boundMethod` frames from call stacks when debugging and as far as I know should behave the same otherwise.
Test Plan: jest
2014-07-24 12:11:19 -07:00
Andreas Svensson
3b94abcb3b
HAS_SIDE_EFFECTS properties must compare as property type
2014-07-24 11:53:02 +02:00
Paul O’Shannessy
efdc5da097
Merge pull request #1903 from syranide/ie8nmlb
...
Remove empty TextNode left behind by IE8 setInnerHTML workaround
2014-07-23 18:40:35 -07:00
Cheng Lou
b0945b16cc
Merge pull request #1560 from spicyj/simplify-lifecycle
...
Simplify composite lifecycle state
2014-07-23 18:02:39 -07:00
Andreas Svensson
8a135c0e75
Remove empty TextNode left behind by IE8 setInnerHTML workaround
2014-07-23 21:52:56 +02:00
Paul O’Shannessy
13e2c38a01
Merge pull request #1865 from syranide/modistatefalse
...
getModifierState should always return a boolean
2014-07-23 10:12:49 -07:00
Andreas Svensson
030071dd8b
getModifierState should always return a boolean
2014-07-23 10:01:22 -07:00
Cheng Lou
79076fad9c
Merge pull request #1774 from syranide/ie8focusthrow
...
Fix IE8 potentially throwing during restoreSelection
2014-07-22 16:29:07 -07:00
Paul O’Shannessy
6d02e04672
Merge pull request #1879 from syranide/modistatewrong
...
getModifierState incorrectly exposed as SyntheticMouseEvent.getEventModifierState
2014-07-22 15:50:15 -07:00
Paul O’Shannessy
2ba254af70
Merge pull request #1909 from zpao/move-react-source
...
Move react-source gem out of project root
2014-07-22 15:34:50 -07:00
Paul O’Shannessy
520c4f96d4
Move react-source gem out of project root
...
Now it requires a build step. At least the confusing lib directory is
gone though.
2014-07-21 22:56:32 -07:00
Paul O’Shannessy
520d73d73c
Merge pull request #1908 from spicyj/simpler-server-willmount
...
Simpler way to prevent flushing updates on server
2014-07-21 21:42:07 -07:00
Ben Alpert
6259d88f03
Simpler way to prevent flushing updates on server
...
Test Plan: Only failing tests in jest are immutable tests that were already failing.
2014-07-21 17:25:52 -07:00
Paul O’Shannessy
04e341936c
Include Object.assign polyfill
...
This isn't a good final solution but it makes React actually usable on
its own.
This also makes tests runnable, though only via jest
(./node_modules/.bin/jest)
2014-07-21 16:18:12 -07:00
Paul O’Shannessy
4bb7b70b28
Merge pull request #1892 from thauburger/patch-1
...
Remove _addPromise from Dispatcher code example
2014-07-21 15:55:41 -07:00
Cheng Lou
af72d9f37f
Merge pull request #1891 from robarnold/patch-1
...
Fix small issue in ReactContext comment
2014-07-21 14:47:07 -07:00
Cheng Lou
d210269985
Merge pull request #1882 from glenjamin/patch-1
...
Note how to access Perf in docs
2014-07-20 11:45:24 -07:00
Ben Alpert
76d2ebdf74
Merge pull request #1893 from chenglou/docs-bar
...
[Docs] Add recent addons to addons.html; tweak wording
2014-07-20 01:16:52 -07:00
Cheng Lou
d95a4ef983
[Docs] Add recent addons to addons.html; tweak wording
...
Add PureRenderMixin and Perf to this page. Also, I think it's better if the link titles reflect the name used by these addons.
2014-07-20 00:59:19 -07:00
Tom Hauburger
c94bb20cb8
Remove _addPromise from Dispatcher code example
...
`_addPromise` is not used in the provided Dispatcher example, nor does it exist in Dispatcher.js found here: https://github.com/facebook/react/blob/master/examples/todomvc-flux/js/dispatcher/Dispatcher.js
2014-07-19 19:52:33 -07:00
robarnold
83e5e9bedf
Fix small issue in ReactContext comment
...
Noticed this the other day and meant to fix it.
2014-07-19 19:09:35 -07:00
Ben Alpert
93712246c8
Reword sentence in reconciliation docs
2014-07-19 14:44:16 -07:00
Glen Mailer
83fd5583bf
Note how to access Perf in docs
2014-07-19 16:14:27 +01:00
Andreas Svensson
6f0db65777
getModifierState incorrectly exposed as SyntheticMouseEvent.getEventModifierState
2014-07-19 10:44:11 +02:00
Sebastian Markbage
c419cce5c9
Move defaultProps resolution to the descriptor factory
...
Moves the defaultProps resolution to the descriptor factory.
2014-07-18 22:01:36 -07:00
Sebastian Markbage
3a7dbe6b73
Deprecate transferPropsTo
2014-07-18 22:01:36 -07:00
Paul O'Shannessy
de711efcc9
When proxying statics functions, copy properties
...
Port of 076047012a which went in
externally before ReactLegacyDescriptor happened, so it needed to be
ported.
2014-07-18 22:01:36 -07:00
Ben Newman
23c5332208
Fix ReactTestUtils.mockComponent so that mockTagName is not ignored.
...
The `mockTagName` parameter was always optional, and so probably was not
used very often. If you tried to use it, it would be shadowed by the
`var mockTagName` declaration in the `render` method, so only
`module.mockTagName` or `"div"` were ever possible values.
2014-07-18 22:01:36 -07:00
Ben Newman
2347abf75c
Don't call window.getSelection when it isn't defined.
...
Sadly, jsdom does not support `window.getSelection` yet, but
`ExecutionEnvironment.canUseDOM` is `true` in a jsdom environment.
2014-07-18 22:01:36 -07:00
Sebastian Markbage
3818656f70
Use Object.assign in merge/mergeInto
...
Relax the argument type checks. Currently we throw for non-objects and terminals
but Object.assign does a coercion to Object instead. It also allows merging
Arrays as if they are objects.
This also relaxes the check for dependents such as ImmutableObject. This sucks
but it will allow us to use a fast code path to native Object.assign.
We always have the option of adding warnings to Object.assign or static type
checks.
I'm keeping the null check. Object.assign throws for null checks.
We'll also start returning the result of coercions just like Object.assign.
2014-07-18 22:01:36 -07:00