Commit Graph

401 Commits

Author SHA1 Message Date
Dan Abramov e4fcbecc1e Add a working RN build 2017-03-16 19:10:46 +00:00
Dominic Gannaway 04972cde8e tidied up the options for bundles, so they can define what types they output and exclude 2017-03-15 21:48:41 +00:00
Dan Abramov 7a2819042f Work in progress: start adding ReactNative bundle 2017-03-15 21:29:39 +00:00
Dan Abramov 2c9ea97f5e Merge branch 'master' into rollup 2017-03-15 20:09:13 +00:00
Ben Alpert a2716d087e Fix two bugs in version bump script (#9165)
* Fix version bump script when files are missing

* Add noop renderer to version bump script

Without this, grunt build fails due to the version mismatch.
2017-03-13 10:04:14 -07:00
Dan Abramov 1eed4e133a Merge branch 'master' into rollup 2017-03-11 23:39:37 +00:00
Dan Abramov 32eccd55fe Add ReactDOMServer bundle 2017-03-11 21:00:44 +00:00
Dan Abramov d93b8e3cb5 Add ReactART builds 2017-03-11 20:12:25 +00:00
Dan Abramov 3d27a04b2a Add missing forwarding module (oops) 2017-03-11 19:15:12 +00:00
Dan Abramov ae1f7622ca Add all injection necessary for error logging 2017-03-11 03:26:12 +00:00
Dan Abramov 8a92f3347d Remove forwarding modules with implementations
Instead I'm adding them to react-fb in my diff.
2017-03-11 02:33:15 +00:00
Dan Abramov 76ee978f82 Externalize feature flags
This lets www specify them dynamically.
2017-03-11 02:17:49 +00:00
Dan Abramov f102045440 Add DOMProperty to hidden exports 2017-03-11 01:44:00 +00:00
Ben Alpert 19c2649e02 Use fiber by default (#9155)
Affects our builds. But not in tests yet.
2017-03-10 17:06:02 -08:00
Dan Abramov 1cc4278acd Add even more forwarding modules that are used on www 2017-03-11 00:52:48 +00:00
Dan Abramov c2ffdcb2b5 Add more forwarding modules that are used on www 2017-03-10 23:45:39 +00:00
Dan Abramov 4580b6b630 Revert "Work around internal FB transform require() issue"
This reverts commit 0a50b6a90b.
2017-03-10 19:36:53 +00:00
Dan Abramov 3f89a779d5 Merge branch 'master' into rollup 2017-03-10 19:29:46 +00:00
Dan Abramov 95a4fbba62 Fix circular dependencies now that ReactDOM-fb is a GK switch 2017-03-10 18:34:51 +00:00
Dan Abramov b82ba7126d Rename ReactDOM-fb to ReactDOMStack-fb 2017-03-10 18:17:29 +00:00
Dominic Gannaway bd4d7ecb3e improved the build tool 2017-03-10 17:05:03 +00:00
Dan Abramov 1f66be3be1 Fix onlyChild module 2017-03-10 15:58:55 +00:00
Dan Abramov 063067d323 Expose more internal modules to www 2017-03-10 15:30:46 +00:00
Dominic Gannaway 71d6c3b1b5 moved ReactInstanceMap out of React and into ReactDOM and ReactDOMFiber 2017-03-10 15:29:23 +00:00
Dan Abramov 0a50b6a90b Work around internal FB transform require() issue 2017-03-10 15:10:09 +00:00
Dan Abramov b34e7cf7c7 Revert "should improve console output"
This breaks the FB bundles.

This reverts commit 65f11ee64f.
2017-03-10 15:09:54 +00:00
Dominic Gannaway 7f6ecb1a1b fixed typo with argument passing on functon call 2017-03-10 14:53:22 +00:00
Dominic Gannaway 65f11ee64f should improve console output 2017-03-10 14:44:24 +00:00
Dominic Gannaway 165bc459c8 added provides module for ReactCurrentOwner 2017-03-10 14:34:32 +00:00
Dominic Gannaway ccfefc8a17 should fix fb and cjs bundles for ReactCurrentOwner 2017-03-10 13:51:28 +00:00
Dan Abramov c4dfd17c59 Change forwarding modules to import from -fb
This is another, more direct fix for ReactPerf circular dependency
2017-03-10 13:29:26 +00:00
Dan Abramov c20ceebec3 Rename -core suffix to -fb for clarity 2017-03-10 13:28:02 +00:00
Dan Abramov c9499d1457 Revert "Add a lazy shim for ReactPerf"
This reverts commit 723b402c07.
2017-03-10 13:27:03 +00:00
Dan Abramov 955b7e7ab4 Fix forwarding module for ReactCurrentOwner 2017-03-10 02:22:18 +00:00
Dan Abramov 723b402c07 Add a lazy shim for ReactPerf
This prevents a circular dependency between ReactGKJSModule and ReactDOM
2017-03-10 02:01:37 +00:00
Dan Abramov c96482d37f Remove PR check from GH Pages build hook for stable branch (#9144) 2017-03-10 01:17:27 +00:00
Dan Abramov a09bed0b34 Use -core suffix for all bundles
This makes it easier to override things in www.
2017-03-09 23:14:26 +00:00
Dominic Gannaway 6114597a1f made ReactPerf and ReactTestUtils bundle again 2017-03-09 17:32:47 +00:00
Dominic Gannaway fdb6e237bf added comments to the module aliasing code 2017-03-09 16:45:02 +00:00
Dominic Gannaway 8ef3aa5d18 more forwarding modules 2017-03-09 15:53:23 +00:00
Dominic Gannaway 47fa99e4c1 improved how certain modules get inlined for fb and cjs 2017-03-09 15:29:24 +00:00
Dominic Gannaway ff0c87129f more progress on forwarding modules and FB config 2017-03-09 15:11:06 +00:00
Dan Abramov 266481dacf Don't count skipped tests when calculating Fiber facts (#9136) 2017-03-08 21:03:21 +00:00
Dominic Gannaway 690a72b870 adding forwarding modules 2017-03-08 18:49:56 +00:00
Dan Abramov 73378c9293 [Fiber] Performance measurements (#9071)
* wip

* better

* better

* track commits

* better

* wip

* Fix

* Add some lifecycles

* wip

* Naming

* Moar emojis

* Remove stacks in favor of a flag

* Fix Flow

* Gate behind __DEV__

* Revert flag for testing

* Measure all lifecycles

* Push it to the limits

* Polish

* Indent

* Refactor and track cascading updates

* More prominent warnings

* Make mark names themselves readable

This is useful for RN Systrace which doesn't let us assign labels after the fact.

* Keep track of how many effects we call

* Fix typo

* Do less work to reduce the overhead

* Fix lint

* Remove closure

* Remove unintentional formatting changes

* Add tests

* Fix test regex and record tests

* Disable irrelevant tests needed for ReactPerf

* Fix typo

* Fix lint and flow

* Don't treat cWM or cWRP as cascading

* Whitespace

* Update tests

* Gate callComponentWillUnmountWithTimerInDev definition by DEV
2017-03-08 18:28:53 +00:00
Dominic Gannaway 15b13cd99c builds a cjs bundle 2017-03-08 14:51:16 +00:00
Dominic Gannaway 238dcf743d More WIP 2017-03-07 19:34:46 +00:00
Dominic Gannaway d00cf558dc dev/prod mode WIP 2017-03-07 17:42:00 +00:00
Dominic Gannaway 3c24a4ca53 WIP 2017-03-07 16:52:53 +00:00
Dominic Gannaway 9d78fa8c1d fbjs support 2017-03-07 16:27:36 +00:00