Commit Graph

386 Commits

Author SHA1 Message Date
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
Dominic Gannaway 30c8371cd5 WIP 2017-03-07 16:21:22 +00:00
Brandon Dail 12ad77d006 Remove EventPluginRegistry.getPluginModuleForEvent (#9110) 2017-03-06 00:52:56 -06:00
Brandon Dail 0c1f515faf Remove sliceChildren (#9109) 2017-03-06 00:52:39 -06:00
Brandon Dail ceafdbf0a5 Remove ReactStateSetters (#9107) 2017-03-03 22:42:25 -06:00
Andrew Clark ccde21cd2b Merge pull request #9088 from acdlite/testerrorutilsshim
Test that ReactErrorUtils module can be shimmed
2017-03-03 14:09:10 -08:00
Andrew Clark e3f6c850c2 Merge pull request #9097 from acdlite/dontextractprodproptypeerror
Fix production propTypes test so it works with error code system
2017-03-03 11:06:04 -08:00
Sasha Aickin fcf41e7ca2 Add async/await to unit tests; modify server rendering tests to use async/await. (#9089) 2017-03-03 10:34:14 -08:00
Andrew Clark fc4633775a Remove destructuring, since the version of node on www doesn't support it 2017-03-02 16:44:04 -08:00
Andrew Clark 673f514f81 Fix PropTypes production test so it works with error code system 2017-03-02 16:12:50 -08:00
Andrew Clark 9c8547cc9f Add script to print out a list of warnings
We'll use this in the GH sync script to track which warnings have
changed since the last sync
2017-03-02 11:37:01 -08:00
Dan Abramov c8f14c26b0 Add a step to the release process 2017-03-01 22:56:06 +00:00
Andrew Clark a293d75f75 Test that ReactErrorUtils module can be shimmed
We do this in www
2017-03-01 14:38:48 -08:00
Sasha Aickin 3788654d57 Adding some server rendering unit tests. (#9055)
* Added a handful of SSR unit tests, ported from a previous pull request.

* Fixing linting errors

* Fixed a test helper function to properly report errors.

* Un-nested the new rendering tests. Updated the fiber test passing/not passing lists.

* Edited to comply with the react/jsx-space-before-closing eslint rule, which will soon be merged into master.

* Response to code review from @spicyj. Moved tests to separate file, reworked wording of test names, corrected use of canUseDom, and simplified tests against tagName. Thanks for the help, @spicyj!
2017-03-01 13:39:47 -08:00
Andrew Clark 4ef197b7d4 Check if we're in sync mode before deprioritizing hidden subtrees 2017-03-01 10:56:31 -08:00
Andrew Clark 0585ee8b22 Merge pull request #9082 from acdlite/nobooleanorstringconstructors
Enforce no boolean or string constructors
2017-03-01 10:55:42 -08:00