Commit Graph
5233 Commits
Author SHA1 Message Date
Edvin Erikson 1e3c3e1b6b Added documentation about pooled events 2015-08-15 17:03:21 +02:00
Paul O’Shannessy 56527cda64 Merge pull request #4631 from Simek/tiny-code-tweak-reactMultiChild
tiny code tweak in ReactMultiChild
2015-08-14 16:44:49 -07:00
Paul O’Shannessy 9257fbbadc Merge pull request #4632 from Simek/react-codemod-lint-fix
react-codemod lint fix
2015-08-14 16:43:44 -07:00
Bartosz Kaszubowski f53b960741 react-codemod-lint-fix 2015-08-15 01:36:44 +02:00
Bartosz Kaszubowski 1ca77c6ae6 tiny code tweak in ReactMultiChild 2015-08-15 01:25:09 +02:00
Paul O’Shannessy b4b028dec0 Merge pull request #4622 from jorrit/instanceofreporttype
Report the actual type when PropTypes.instanceOf fails
2015-08-14 11:05:57 -07:00
cpojer 989caa870d Support export default in the class codemod. 2015-08-14 10:27:31 -07:00
Merrick Christensen 5395c815de fix(es6-import-export): initial commit actually applying 2015-08-14 10:27:31 -07:00
Jorrit Schippers cf6222dd71 Report the actual type when PropTypes.instanceOf fails 2015-08-14 17:46:24 +02:00
Jim 534e277c10 Merge pull request #4627 from tako-black/translate_top-level-api_to_japanese
Translate ref-01-top-level-api.md to Japanese
2015-08-14 05:14:53 -07:00
Kohei TAKATA ae38ea9275 Translate ref-01-top-level-api.md to Japanese 2015-08-14 19:16:59 +09:00
Paul O’Shannessy 6708059b51 Merge pull request #4607 from hekar/add/html-table-summary-attr
Added support for more HTML attributes: `summary`
2015-08-13 21:28:50 -07:00
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
Matthew Johnston 0b07fed32c ReactEurope roundup blog post 2015-08-13 17:14:17 -07:00
Ben Alpert 4d614cfc87 Merge pull request #4624 from Torwori/null-check-fix
Swap places of mounted and pending update checks
2015-08-13 14:48:56 -07:00
Paul O’Shannessy 6c84a57a2d Merge pull request #4610 from lili21/fix-component-api-doc
update component api docs
2015-08-13 13:08:28 -07:00
Paul O’Shannessy 6a9c789076 Merge pull request #4626 from yoshuki/fix-markdown-conversion
Fix Markdown conversion with marked
2015-08-13 13:02:32 -07:00
MIKAMI Yoshiyuki 47ce8ecacb Fix Markdown conversion with marked 2015-08-14 01:07:19 +09:00
Igor Scekic 0e834fabca swap places of mounted and pending update checks
prevents a type error if the component isn't mounted
2015-08-13 16:34:47 +02:00
Jim d8998354ee Merge pull request #4623 from tako-black/translate_introduction_to_japanese
Translate 01-introduction.md to Japanese
2015-08-13 07:25:36 -07:00
Kohei TAKATA edca54fb93 Translate 01-introduction.md to Japanese 2015-08-13 21:27:00 +09:00
li.li f027ca8ca0 update component api docs 2015-08-13 15:34:21 +08:00
Paul O’Shannessy 530a30c1d5 Fix grammar in Relay blog post
Brings in #4617 properly
2015-08-12 12:09:24 -07:00
Paul O’Shannessy 1b7d6c381f Merge pull request #4619 from jaredly/beta-2
update devtools post to note beta 2
2015-08-12 11:53:25 -07:00
Jared Forsyth 3ed9581adb update devtools post to note beta 2 2015-08-12 11:29:41 -07:00
Jim d7b59de1c3 Merge pull request #4613 from tako-black/translate_advanced-performance_to_japanese
Translate 11-advanced-performance.md to Japanese
2015-08-12 07:39:03 -07:00
Kohei TAKATA 239eb0fc23 Translate 11-advanced-performance.md to Japanese 2015-08-12 19:40:30 +09:00
Sebastian Markbåge d3f338ff27 Fix typecheck 2015-08-12 00:32:52 -07:00
Ben Alpert cb2f4de4ca Merge pull request #4609 from spicyj/warn-r2
Remove accidental .only
2015-08-11 18:20:05 -07:00
Ben Alpert a54d321765 Remove accidental .only 2015-08-11 18:19:42 -07:00
Ben Alpert dc5a5adfaf Merge pull request #4477 from mridgway/autobind-opt-out
Allow classes created with React.createClass to opt out of autobinding
2015-08-11 18:03:41 -07:00
Ben Alpert 655b82fb7b Merge pull request #3332 from spicyj/warn-r2
Warn with two copies of React
2015-08-11 17:17:53 -07:00
Ben Alpert d002abf0e7 Warn with two copies of React 2015-08-11 17:15:02 -07:00
Jim 079a6b0092 Merge pull request #4470 from jimfb/ref-error-means-multiple-react
Added note about multiple Reacts, since this error commonly implies that.
2015-08-11 16:24:01 -07:00
Ben Alpert 6160216b22 Merge pull request #3650 from spicyj/toarray
Add React.Children.toArray
2015-08-11 16:13:51 -07:00
Ben Alpert 53d8bbddc7 Add React.Children.toArray 2015-08-11 16:13:40 -07:00
Jim e984d2b7d2 Added note about multiple Reacts, since this error commonly implies that. 2015-08-11 12:59:55 -07: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