Commit Graph
8474 Commits
Author SHA1 Message Date
Dominic Gannaway ceeebd8e56 added __DEV__ flag behind a footer/header 2017-03-27 16:53:39 +01:00
Dominic Gannaway 65aae08bd1 added a __DEV__ wrapping code to FB_DEV 2017-03-27 16:38:13 +01:00
Dominic Gannaway 88293c7180 added shims for DEV only code so it does not get included in prod bundles 2017-03-27 16:02:42 +01:00
Dominic Gannaway b025c43487 Added init() dev block to ReactTestUtils 2017-03-27 15:46:18 +01:00
Dominic Gannaway 4e81eac859 Merge branch 'rollup' of github.com:trueadm/react into rollup 2017-03-27 15:26:00 +01:00
Dominic Gannaway c95ee10aee should no longer mangle FB_PROD output 2017-03-27 15:25:50 +01:00
Dan Abramov 5f994ee71b Remove deps on specific builds from shims 2017-03-27 15:23:30 +01:00
Dominic Gannaway 9e5271ab45 splits FB into FB_DEV and FB_PROD 2017-03-27 15:07:47 +01:00
Dominic Gannaway d526452b0b fixed merge conflicts with upstream master 2017-03-27 12:32:58 +01:00
Dominic Gannaway 7afb09ea00 updated error codes 2017-03-27 11:52:09 +01:00
Sasha Aickin c51411c812 Adding new SSR tests for context, refs, and reviving markup. (#9257) 2017-03-26 13:32:23 -07:00
najisawas c47f334ac9 Fixed typo on implementation notes page (#9258)
Added paren to "mountComponent()" for consistency
2017-03-25 20:57:28 -05:00
Brian Vaughn cb585229bc Ran yarn and fixed line-length lint issue 2017-03-24 19:59:05 -07:00
Dan Abramov 9347ca0115 Work around Jest issue with CurrentOwner shared state in www 2017-03-25 00:55:10 +00:00
Dan Abramov 56c42b53fd Revert "😭😭😭"
This reverts commit 7dba33b2cf.
2017-03-25 00:05:18 +00:00
Brian Vaughn 71a87bcfee Updating packages for 16.0.0-alpha.6 release 2017-03-24 23:16:34 +00:00
Brian Vaughn c5156eb0be ReactElementValidator uses temporary ReactNative View propTypes getter (#9256) 2017-03-24 23:16:24 +00:00
Sasha Aickin 60e78e37b8 Add more SSR unit tests for elements and children. (#9221)
* Adding more SSR unit tests for elements and children.

* Some of my SSR tests were testing for react-text and react-empty elements that no longer exist in Fiber. Fixed the tests so that they expect correct markup in Fiber.

* Tweaked some test names after @gaearon review comment https://github.com/facebook/react/pull/9221#discussion_r107045673 . Also realized that one of the tests was essentially a direct copy of another, so deleted it.

* Responding to code review https://github.com/facebook/react/pull/9221#pullrequestreview-28996315 . Thanks @spicyj!
2017-03-24 23:16:24 +00:00
Dan Abramov 7dba33b2cf 😭😭😭 2017-03-24 23:16:19 +00:00
Brian Vaughn 1a29b4e2a3 Updating packages for 16.0.0-alpha.6 release 2017-03-24 15:44:09 -07:00
Brian Vaughn 1acf949240 ReactElementValidator uses temporary ReactNative View propTypes getter (#9256) 2017-03-24 15:37:21 -07:00
Sasha Aickin 25deff6203 Add more SSR unit tests for elements and children. (#9221)
* Adding more SSR unit tests for elements and children.

* Some of my SSR tests were testing for react-text and react-empty elements that no longer exist in Fiber. Fixed the tests so that they expect correct markup in Fiber.

* Tweaked some test names after @gaearon review comment https://github.com/facebook/react/pull/9221#discussion_r107045673 . Also realized that one of the tests was essentially a direct copy of another, so deleted it.

* Responding to code review https://github.com/facebook/react/pull/9221#pullrequestreview-28996315 . Thanks @spicyj!
2017-03-24 13:31:15 -07:00
Dan Abramov 4691521ccb Merge branch 'master' into rollup 2017-03-24 18:19:44 +00:00
Dan Abramov 0a41890eaa Remove rethrowCaughtError injection (#9252) 2017-03-24 18:19:12 +00:00
Dominic Gannaway 0fd8aa604f removed react-native-renderer package and made build make a react-native build dir instead 2017-03-24 18:01:18 +00:00
Dominic Gannaway b5bdf70036 Merge branch 'rollup' of github.com:trueadm/react into rollup 2017-03-24 17:40:16 +00:00
Dominic Gannaway b4f9895c9c building facebook-www/build is now all sync to prevent IO issues plus handles extra facebook-www src assets 2017-03-24 17:25:01 +00:00
Dominic Gannaway beaf32c0a9 removed unnecessary resolve 2017-03-24 16:57:10 +00:00
Dominic Gannaway 8af3ca2274 facebook-www shims now get copied over correctly to build 2017-03-24 16:56:23 +00:00
Dan Abramov bd4ff9d6bf Unflowify shims 2017-03-24 16:22:05 +00:00
Johan Tinglöf 38d8f3ee6b Updated Router import for example (#9233)
Updated import in order to be a correct working example as in accordance with the docs
2017-03-24 09:37:32 -05:00
Dan Abramov a57e1403d9 Tweak reactComponentExpect to make it standalone-ish in www 2017-03-23 21:25:59 +00:00
Dan Abramov c84f4e03bc Add missing ReactErrorUtils shim 2017-03-23 21:15:30 +00:00
Dan Abramov 05bd00af2e More descriptive filenames 2017-03-23 20:32:36 +00:00
Dan Abramov 4458f156ad Move files around 2017-03-23 20:32:05 +00:00
Dan Abramov d09410ba97 Fix Haste name 2017-03-23 20:22:13 +00:00
Dan Abramov 779d5bd040 Fix merge conflict 2017-03-23 19:55:23 +00:00
Dan Abramov f082e35b36 Fix up invariant import to be from fbjs/lib/ 2017-03-23 19:45:10 +00:00
Dan Abramov 4d1584b055 Fix ReactErrorUtils injection (#9247) 2017-03-23 19:43:22 +00:00
Dan Abramov 26fa2cdedc Add dynamic injection to ReactErrorUtils (#9246) 2017-03-23 19:43:22 +00:00
Brian Vaughn 07a963a5f4 Updated ReactNative findNodeHandle() to handle number case (#9238) 2017-03-23 19:43:22 +00:00
Dan Abramov d6a2c669d2 Fix ReactErrorUtils injection (#9247) 2017-03-23 19:13:07 +00:00
Dan Abramov 1c9dcd53d5 Add dynamic injection to ReactErrorUtils (#9246) 2017-03-23 18:45:38 +00:00
Dominic Gannaway 700894a202 updated release doc to reflect some rollup changes 2017-03-23 17:20:26 +00:00
Dominic Gannaway 47e805711d changed pathing to use build rather than build/rollup 2017-03-23 16:46:04 +00:00
Dominic Gannaway dd0ae1a233 moved shims to shims directory in rollup scripts 2017-03-23 16:21:36 +00:00
Dominic Gannaway 37d334b314 added extractErrors warning 2017-03-23 16:20:25 +00:00
Dominic Gannaway c81f2fbd7f added extract-errors support 2017-03-23 16:15:28 +00:00
Dominic Gannaway b4100edba2 fixed fixture path changes 2017-03-23 15:36:23 +00:00
Brian Vaughn c8897f8382 Updated ReactNative findNodeHandle() to handle number case (#9238) 2017-03-23 08:16:52 -07:00