Commit Graph

5388 Commits

Author SHA1 Message Date
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
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
Paul O’Shannessy ed264b548b Merge pull request #4953 from zpao/test-utils-scry
Make ReactTestUtils.scryRenderedComponentWithClass find multiple classes
2015-09-28 10:31:21 -07:00
Paul O’Shannessy e9c571acc6 Make ReactTestUtils.scryRenderedComponentWithClass find multiple classes 2015-09-28 10:06:54 -07:00
Ben Alpert 013bf16501 Merge pull request #4985 from mbrookes/patch-1
Correct the CSS example for 'appear' transition
2015-09-27 16:23:09 -07:00
Ben Alpert 7938650ca9 Make new perf unit test pass 2015-09-27 14:26:26 -07:00
Ben Alpert 47de0a8ce6 Add unit test to ensure DOM mutations are instrumented 2015-09-27 14:26:01 -07:00
Matt 208f20b787 Correct the CSS example for 'appear' transition
Move transition from `.example-appear` to `.example-appear.example-appear-active`
2015-09-27 17:33:16 +01:00
cpojer 2c973796e3 Add trailing commas to react-codemod output by default. 2015-09-26 22:58:45 +02:00
Paul O’Shannessy ce8fed7592 Merge pull request #4893 from jw-00000/patch-1
Fix documentation of behavior of v0.12 and v0.13
2015-09-26 10:46:07 -07:00
JW 3b6697f177 Fix documentation of event propagation: 0.13 to 0.14 2015-09-26 12:31:48 +02:00
Vipul A M 1d4371a1d2 [docs] Replace JSXTransformer with babel/browser
Closes #4131
2015-09-25 20:13:19 -07:00
Paul O’Shannessy d3d2504e72 Merge pull request #4846 from zpao/docs-use-babel
[docs] Remove references to react-tools, JSXTransformer, replace with Babel.
2015-09-25 20:06:47 -07:00
Paul O’Shannessy 105554fe5c [docs] Remove JSXTransformer, react-tools from downloads page 2015-09-25 17:58:07 -07:00
Paul O’Shannessy bef8942cb7 [docs] Remove JSXTransformer from tutorial 2015-09-25 17:58:07 -07:00
Paul O’Shannessy 4d9c1d1126 [docs] Update script mimetypes: text/jsx -> text/babel 2015-09-25 17:56:42 -07:00
Paul O’Shannessy 097b32b7d2 [docs] Remove mentions of react-tools/jsx command 2015-09-25 17:56:42 -07:00
Paul O’Shannessy 411ed31cb1 [docs] Stop supporting our JSX compiler page
Link to Babel REPL directly instead.
2015-09-25 17:56:42 -07:00
Paul O’Shannessy 6ff4ba9512 Merge pull request #4978 from zpao/tutorial-server
[docs] Make the server required for the tutorial
2015-09-25 17:54:47 -07:00
Paul O’Shannessy a440f40713 [docs] Make the server required for the tutorial 2015-09-25 17:52:45 -07:00
Ben Alpert 59466a0b52 Merge pull request #4977 from spicyj/gh-4870
Actually don't store <input> until mount-ready
2015-09-25 13:41:45 -07:00
Ben Alpert 6e62a010dd Actually don't store <input> until mount-ready
So #4976 was a lie. Fixes #4870 for real (thanks @STRML).
2015-09-25 13:39:05 -07:00
Ben Alpert b82f3ab55d Merge pull request #4976 from spicyj/gh-4870
Don't store <input> instance until mount-ready
2015-09-25 13:30:01 -07:00
Ben Alpert c04d10f033 Don't store <input> instance until mount-ready
Fixes #4870.

This more or less matches what we were doing with the old wrapper components (not storing until componentDidMount).
2015-09-25 13:20:40 -07:00
Ben Alpert c05a6570ec Merge pull request #4975 from spicyj/gh-3285
Don't blow up on missing _store in element validation
2015-09-25 13:11:40 -07:00
Ben Alpert e352475ddc Don't blow up on missing _store in element validation
Seems better to fail gracefully, especially now that we support inlining. If people do this by accident we can figure out how to add a helpful warning instead.

Fixes #3285.
2015-09-25 13:09:03 -07:00
Paul O’Shannessy 530b6332ed Merge pull request #4973 from zpao/lint-again
[lint] Update and fix
2015-09-25 13:05:38 -07:00
Paul O’Shannessy 7037ef9d8b [lint] Update and fix 2015-09-25 12:32:51 -07:00
Jim 4215002200 Merge pull request #4965 from iamchenxin/translate
[docs] Update zh-CN docs.
2015-09-25 11:34:05 -07:00
Jim 3936e3fddb Merge pull request #4967 from zhangjg/zhangjg-br
Translation  08.1-more-about-ref.md to Chinese
2015-09-25 11:33:36 -07:00
Sebastian Markbåge 8854a31e31 Merge pull request #4942 from darobin/rdfa-attributes
Add RDFa attributes not already covered (fixes #3459)
2015-09-25 09:32:40 -07:00
zhangjg 1dbde787d0 Published with https://stackedit.io/ 2015-09-25 09:34:37 +08:00
Paul O’Shannessy 707ffc74fd Merge pull request #4966 from zpao/examples-rm-server-rendering
[examples] Remove Server Rendering Example
2015-09-24 18:06:07 -07:00
iamchenxin 6094739757 [docs] Update zh-CN docs
Update
	09-tooling-integration.zh-CN.md
	10-addons.zh-CN.md
	10.1-animation.zh-CN.md
2015-09-25 06:55:34 +08:00
Paul O’Shannessy c529e652bd [examples] Remove Server Rendering 2015-09-24 15:12:15 -07:00