Commit Graph

5421 Commits

Author SHA1 Message Date
Jim fc043bb3a5 Revert "Revert "Remove dependence on ES5 shams per #4189"" 2015-10-06 14:31:20 -07:00
Jim 6446a45a00 Merge pull request #5062 from facebook/revert-4959-no-shams
Revert "Remove dependence on ES5 shams per #4189"
2015-10-06 14:30:26 -07:00
Jim 571edd85c2 Revert "Remove dependence on ES5 shams per #4189" 2015-10-06 14:30:03 -07:00
Jim 0b73099301 Merge pull request #4959 from dgreensp/no-shams
Remove dependence on ES5 shams per #4189
2015-10-06 13:57:49 -07:00
David Greenspan f95747b929 Remove dependence on ES5 shams per #4189
Docs not updated
2015-10-06 13:49:47 -07:00
Jim 870a15adec Merge pull request #5056 from jimfb/reactdom-in-src
React->ReactDOM in src/
2015-10-05 16:30:25 -07:00
Jim 5a9dea00b9 React->ReactDOM in src/ 2015-10-05 16:29:33 -07:00
Ben Alpert 94ccda8543 Merge pull request #5041 from spicyj/val-key-err
Don't blow up in key warning for undefined type
2015-10-05 13:57:25 -07:00
Paul O’Shannessy d1065355a9 Merge pull request #5045 from CoderK/master
rename renderSubtreeIntoContainer.js to renderSubtreeIntoContainer-test.js
2015-10-03 07:57:26 -07:00
KimCoding f316839b90 rename renderSubtreeIntoContainer.js to renderSubtreeIntoContainer-test.js
To distinguish between testing file and implementation file.
2015-10-03 18:11:48 +09:00
Ben Alpert 1959aaa1f9 Don't blow up in key warning for undefined type 2015-10-02 11:31:28 -07:00
Jim a71a06077f Merge pull request #5019 from jimfb/renderer-blog-post
Blog post for react render and top level API
2015-10-02 10:42:48 -07:00
Jim e25753fdf1 Merge pull request #5038 from chicoxyzzy/docs-notation-fixes
make properties notation consistent over docs
2015-10-01 19:01:37 -07:00
chico 89e28a3fbe make properties notation in docs consistent 2015-10-02 03:44:47 +03:00
Paul O’Shannessy 95c5491781 Merge pull request #5001 from claudiopro/master
[docs] Italian localization of documentation
2015-10-01 14:46:21 -07:00
claudiopro a4ec19500a Translate documentation to Italian 2015-10-01 23:40:14 +02:00
Paul O’Shannessy 9aa4546410 Merge pull request #5034 from zpao/fbjs-0.3
Update to fbjs@0.3
2015-10-01 14:33:40 -07:00
Paul O’Shannessy 693dd3567b Update to fbjs@0.3
As far as we're concerned, the only difference is that we moved some files from React to fbjs.
2015-10-01 14:30:05 -07:00
Ben Alpert 2a51d1bf93 Merge pull request #5016 from spicyj/tu-stateless
Make scry* look through stateless components
2015-10-01 14:13:32 -07:00
Jim c0f951665d Blog post for react render and top level API 2015-10-01 14:12:01 -07:00
Sebastian Markbåge 4fa3ce48e8 Merge pull request #5021 from sebmarkbage/prototypetag
isReactClass -> .prototype.isReactComponent
2015-10-01 14:05:13 -07:00
Ben Alpert 3606702245 Merge pull request #5026 from chicoxyzzy/clarify-events-doc
clarify that events work for elements not for components
2015-10-01 10:49:25 -07:00
Jim b53df5446e Merge pull request #5029 from jabbrass/patch-1
[docs] Fix typo in videos.md
2015-10-01 10:38:39 -07:00
J. Andrew Brassington 32b8135f94 [docs] Fix typo in videos.md
Line 111: "integate" =>  "integrate".
Thanks to all core contribs for open sourcing such a great tool!
2015-10-01 09:38:02 -07:00
Jim 1c385c0484 Merge pull request #5025 from chicoxyzzy/fix-event-methods-notation
fix methods notation of SyntheticEvent in docs
2015-10-01 06:18:50 -07:00
chico e6314641ce fix isDefaultPrevented() and isPropagationStopped() methods of SyntheticEvent notation 2015-10-01 14:06:30 +03:00
chico 38a3150f62 clarify that events work for elements not for components 2015-10-01 14:00:05 +03:00
Jim 6dbdea15b2 Merge pull request #4964 from jimfb/stateless-functions-and-render-docs
Documentation for stateless functions/components, condensed two pages about refs into one
2015-09-30 20:59:29 -07:00
Jim 5ee8a93280 Added documentation for stateless components, condensed the two pages about refs into a single page. 2015-09-30 18:54:19 -07:00
Sebastian Markbage 83644185f4 isReactClass -> .prototype.isReactComponent
Put the flag on the prototype instead to help certain limited forms
of class extensions that doesn't properly transfer static properties.

Fixes #4836
2015-09-30 18:28:49 -07:00
Sebastian Markbåge 401e6f1058 Merge pull request #5020 from sebmarkbage/fixjestcli
Enforce NODE_ENV=test
2015-09-30 17:57:52 -07:00
Sebastian Markbage 41cba2e77b Enforce NODE_ENV=test
You could make the argument that this should be optional, but it doesn't
work without it so we might as well just enforce it.

Makes `jest` work by default.
2015-09-30 17:43:06 -07:00
Ben Alpert 29fbbe7263 Merge pull request #5017 from spicyj/gh-5005
Fix dev/prod mismatch in context === bailout
2015-09-30 17:05:25 -07:00
Ben Alpert 3ad5419ce5 Merge pull request #5018 from spicyj/ev-l-bool
Don't throw for onClick={false} in initial render
2015-09-30 17:05:20 -07:00
Ben Alpert 2b63601472 Don't throw for onClick={false} in initial render
I accidentally regressed this in #3246. Now this matches what we already checked for updates.
2015-09-30 16:53:47 -07:00
Ben Alpert cf86cd8ebf Fix dev/prod mismatch in context === bailout
Fixes #5005.
2015-09-30 16:47:40 -07:00
Ben Alpert 7bd51659d6 Make scry* look through stateless components
Fixes #4882.
2015-09-30 16:00:21 -07:00
Paul O’Shannessy 249e0f7331 Merge pull request #5008 from james4388/patch-3
Add missing comma (,) between propTypes and render
2015-09-30 14:34:08 -07:00
Paul O’Shannessy 45b63c55a0 Merge pull request #4736 from yhagio/patch-1
Update 02-displaying-data.ja-JP.md
2015-09-30 14:22:53 -07:00
Paul O’Shannessy cf0e6dfae7 Merge pull request #4980 from edvinerikson/add-window-document-note
Added a note about needing document globally available
2015-09-30 11:08:29 -07:00
Edvin Erikson f9417a5da1 Added a note about needing document globally available
Added a note in ``10.4-test-utils.md` about needing window, document and
document.createElement globally available before importing React.
2015-09-30 14:28:57 +02:00
Trinh Hoang Nhu 3c56146a44 Add missing comma (,) between propTypes and render
Add missing comma (,) between `propTypes` and `render`
2015-09-30 03:48:51 -05:00
Ben Alpert 5a4b92d8c5 Merge pull request #5003 from spicyj/gh-4996
Improve warning for old element objects
2015-09-29 22:52:08 -07:00
Ben Alpert 35f731b012 Merge pull request #5002 from spicyj/check-no-warn-jest
Fail jest tests on any un-spied warnings
2015-09-29 22:51:47 -07:00
Ben Alpert d561949711 Improve warning for old element objects
Fixes #4996.
2015-09-29 18:02:47 -07:00
Ben Alpert b8c7b13042 Fail jest tests on any un-spied warnings
Originally #4223 -- we lost this when we switched to jest.
2015-09-29 17:35:39 -07:00
Ben Alpert 9a234e1d48 Merge pull request #4995 from gregrperkins/master
Rename TYPE_SYMBOL to REACT_ELEMENT_TYPE
2015-09-28 14:18:18 -07:00
Greg Perkins c9320142ec Rename TYPE_SYMBOL to REACT_ELEMENT_TYPE
See D2454031 for context.
2015-09-28 14:11:40 -07:00
Ben Alpert c512603a8c Merge pull request #4987 from spicyj/perf
Add unit test to ensure DOM mutations are instrumented
2015-09-28 11:48:18 -07:00
Paul O’Shannessy 1b5cd36f03 Merge pull request #4901 from zpao/npm-react-dom-dist
Build ReactDOM browser builds into react-dom/dist
2015-09-28 11:41:00 -07:00