Hekar Khani
be1fc794f0
Added support for more HTML attributes: summary
...
This attribute is used on <table> to support screen readers.
It is deprecated, so take a look at <caption> instead.
2015-08-13 22:41:37 -05:00
Joseph Savona
aa55a71c62
Relay Technical Preview - blog post
...
(cherry picked from commit cac6bc870d )
2015-08-11 12:46:37 -07:00
Sebastian Markbåge
2457823227
Merge pull request #4182 from sebmarkbage/fixguards
...
Move guards from auto binding to event dispatch
2015-08-11 12:05:08 -07:00
Sebastian Markbage
216026418c
Simplify event dispatching
...
This simplifies event dispatching by removing the `return false` special
case for the SimpleEventPlugin which allow us to inline much more here
and the code becomes easier to follow.
2015-08-11 11:55:07 -07:00
Sebastian Markbage
16cc45156f
Move guards from auto binding to event dispatch
...
This wraps a proper guard around event dispatching so that errors doesn't
interupt other event callbacks.
Instead we rethrow the first error after all callbacks have been invoked.
For DEV mode we use native event dispatching if available. This has the
benefit that caught exceptions show up in the dev tools even without caught
exceptions being turned on. Yet, all callbacks are guaranteed to fire.
2015-08-11 11:55:07 -07:00
Jim
1b67acc168
Merge pull request #4344 from jimfb/update-children-because-context
...
Don't skip reconcilation if context differs
2015-08-11 10:44:14 -07:00
Jim
bcd32768e6
Merge pull request #4602 from tako-black/update_tutorial_ja-JP
...
Change tutorial.ja-JP.md to use marked
2015-08-11 09:26:53 -07:00
Kohei TAKATA
1ceded865b
Change tutorial.ja-JP.md to use marked
2015-08-11 22:54:36 +09:00
Paul O’Shannessy
7deab28347
Merge pull request #4598 from zpao/eslint-1.1
...
Upgrade ESLint, fix code
2015-08-10 21:11:23 -07:00
Ben Alpert
d1a2193127
Merge pull request #4587 from spicyj/stateless-fn
...
Minimal implementation of stateless components
2015-08-10 17:49:31 -07:00
Paul O’Shannessy
ecb34de574
Upgrade ESLint, fix code
2015-08-10 17:04:29 -07:00
Sebastian Markbåge
37ee03f29c
Merge pull request #4596 from jaredly/add-source-self
...
adding __self and __source special props
2015-08-10 16:22:12 -07:00
Ben Alpert
cd15dc60b8
Merge pull request #4597 from spicyj/coco
...
Apply codemod for React -> ReactDOM split
2015-08-10 15:33:49 -07:00
Ben Alpert
9adcff442a
Apply codemod for React -> ReactDOM split
...
Ran the codemod automatically then ran
```
codemod.py -m -d src '(var React\b[^\n]*;)\n\n(var ReactDOM)' '\1\n\2'
```
to clean up spacing of requires.
2015-08-10 15:24:30 -07:00
Ben Alpert
b98b6ea2ac
Clean up files before automated codemod
2015-08-10 15:23:12 -07:00
Jared Forsyth
009b7c8ae1
adding __self and __source special props
2015-08-10 13:52:17 -07:00
Paul O’Shannessy
1e90de692e
Merge pull request #4584 from jessebeach/jessebeach-reactComponentExpect-silent-fail
...
reactComponentExpect fails silently
2015-08-10 13:15:14 -07:00
Sebastian Markbåge
2f079359e8
Merge pull request #4588 from sebmarkbage/ownersforcontext
...
Add property key names + type of value to fragment warning
2015-08-08 15:11:22 -07:00
Sebastian Markbage
754ee176d0
Add property key names + type of value to fragment warning
...
This provides useful context in the logs to help us filter out things like
{__html:...}.
2015-08-07 20:01:03 -07:00
Ben Alpert
f3440c0d6f
Merge pull request #4581 from Youmoo/patch-1
...
Update 2015-05-01-graphql-introduction.md
2015-08-07 19:32:22 -07:00
Ben Alpert
5a7bd964b4
Minimal implementation of stateless components
...
Stateless pure-function components give us more opportunity to make performance optimizations. For now, we'll do a minimal implementation which has similar performance characteristics to other components in the interests of shipping 0.14 and allowing people to begin writing code using this pattern; in the future we can refactor to allocate less and avoid other unnecessary work.
2015-08-07 19:27:42 -07:00
Ben Alpert
3ec9f86573
Deduplicate logic in ReactElementValidator
...
Shouldn't be much change. Notably, this calls `.getName()` instead of trying to derive it manually, which is more consistent.
2015-08-07 18:53:42 -07:00
Ben Alpert
b927110fb2
Merge pull request #4585 from spicyj/disable-path
...
Disable event.path handling
2015-08-07 13:41:11 -07:00
Ben Alpert
016a1907e1
Disable event.path handling
...
Looks like #4558 isn't ready yet and we'd like an interim fix.
2015-08-07 13:33:42 -07:00
J. Renée Beach
39c3fb2b09
reactComponentExpect fails silently
...
```reactComponentExpect``` fails silently when passed an undefined value. It calls ```ReactTestUtils.isCompositeComponent``` with the undefined value, in which a ```render``` property is accessed, throwing a prop on undefined not found error which isn't surfaced to jest.
```
TypeError: Cannot read property 'render' of undefined
at Object.ReactTestUtils.isCompositeComponent (./react/test/ReactTestUtils.js:127:23)
at new reactComponentExpect (./react/test/reactComponentExpect.js:46:20)
at reactComponentExpect (./react/test/reactComponentExpect.js:40:12)
```
Expecting the passed-in instance to not be undefined surfaces this issue in the test runner.
2015-08-07 11:21:45 -07:00
Sebastian Markbåge
7f119d41c7
Merge pull request #4554 from chernysh/chernysh-added-docs-img-events
...
Added documentation for <img> events
2015-08-07 11:07:24 -07:00
youmoo
0a19e0c0e5
Update 2015-05-01-graphql-introduction.md
...
Or the alternative:
`REST is an acronym for Representational State Transfer, which is an architectural style rather than a formal protocol`.
Sorry , I'am not a native speaker:)
2015-08-07 14:11:03 +08:00
Ben Alpert
6871ec2e29
Merge pull request #4580 from spicyj/gh-4578
...
Fix missing change event target in old IE
2015-08-06 15:24:02 -07:00
Ben Alpert
264bc2e7f2
Fix missing change event target in old IE
...
Events have `.srcElement` in old IE, not `.target`.
Fixes #4578 .
2015-08-06 15:08:59 -07:00
Sebastian Markbåge
375734731d
Merge pull request #4579 from sebmarkbage/ownersforcontext
...
Only set the owner during flattening
2015-08-06 13:04:56 -07:00
Sebastian Markbage
9fc2f8de26
Only set the owner during flattening
...
This used to do the update as well, which could have side-effects that
rely on owner being null.
2015-08-06 12:57:17 -07:00
Jim
13acbd2424
Merge pull request #4577 from marjan-georgiev/add-stopOpacity-to-unitless-props
...
Add stop-opacity to unitless style properties
2015-08-06 10:19:27 -07:00
Marjan
2b4d98fa52
Revert change to docs/js/reactj.js
2015-08-06 19:16:29 +02:00
Marjan
0d8c3f9cba
Add stop-opacity to unitless style properties
2015-08-06 16:46:13 +02:00
Sebastian Markbåge
7ffff573ae
Merge pull request #4569 from sebmarkbage/ownersforcontext
...
Set the owner during traverseAllChildren
2015-08-05 22:46:08 -07:00
Sebastian Markbage
cd1ab32d2f
Set the owner during traverseAllChildren
...
This is basically just adding some context to the warning in ReactFragment
so that we can more easily find the callers.
2015-08-05 21:04:52 -07:00
Ben Alpert
f7b9545c15
Merge pull request #4559 from salier/ie-selection
...
Use onSelect fallback in IE
2015-08-05 20:35:24 -07:00
Ben Alpert
bdfa948121
Fix lint
2015-08-05 20:34:48 -07:00
Paul O’Shannessy
e64fc51984
Merge pull request #4565 from koba04/remove-fasttest
...
Remove fasttest task. fasttest is not fast
2015-08-05 14:40:41 -07:00
Toru Kobayashi
656c2ef173
Remove fasttest task. fasttest is not fast
2015-08-05 19:00:23 +09:00
Isaac Salier-Hellendag
2ff7512975
Use onSelect fallback in IE
...
In response to https://github.com/facebook/react/issues/2722 . Use the Firefox selection change fallback for IE.
2015-08-04 17:36:34 -07:00
Vadim Chernysh
56e9d4aa4d
Added events documentation for <img> elements
2015-08-04 15:27:56 +03:00
Jim
c97ed7b804
Merge pull request #4552 from psibi/patch-1
...
Include Haskell language
2015-08-04 03:35:34 -07:00
Sibi
1c1cfe95ee
Include Haskell language
2015-08-04 14:06:08 +05:30
Ben Alpert
b4f40ba95f
Merge pull request #4473 from facebook/devtools-blog-post
...
[docs] Add blog post about the new devtools beta
2015-08-03 15:13:33 -07:00
Jared Forsyth
1343cc0c9b
Add blog post about the new devtools beta
2015-08-03 14:55:05 -07:00
Paul O’Shannessy
3f6bca7b16
0.14.0-beta3
v0.14.0-beta3
2015-08-03 14:24:24 -07:00
Paul O’Shannessy
da8fc4e91b
Merge pull request #4545 from salzhrani/patch-2
...
Update addons.js
2015-08-02 21:05:45 -07:00
Jim
ff7996b58a
Merge pull request #4381 from mikrofusion/clarify-main-ideas
...
clarify the two main ideas behind react.
2015-08-02 20:04:37 -07:00
Mike Groseclose
38818189a5
remove two ideas from why react to add clarity
2015-08-02 19:34:20 -07:00