Dan Abramov
c2ffdcb2b5
Add more forwarding modules that are used on www
2017-03-10 23:45:39 +00:00
Dan Abramov
9ba6635370
Bump rollup-plugin-commonjs to include a fix for rollup/rollup-plugin-commonjs#176
2017-03-10 19:38:47 +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
8de68c56f9
[Fiber] Remove unnecessary second getComponentName() ( #9153 )
...
* Remove unnecessary second getComponentName()
We already have one. The other one is also less fragile and doesn't throw on null type.
* Make setState in render warning check simpler
This skips it earlier since in most cases phase won't be "render".
This is unobservable.
2017-03-10 19:29:20 +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
Dan Abramov
ef50945f20
Add a rollup npm script
2017-03-10 17:13:41 +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
f6e5d72ce3
Add missing modules to Stack ReactDOM to fix UFI
2017-03-10 15:49:12 +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
Dan Abramov
7fa311bcd9
Reorder sections in alphabetical order ( #9143 )
...
* Reorder sections in alphabetical order
* Reorder here too
2017-03-09 20:46:55 +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
6559b10b11
Use more widely supported emoji ( #9139 )
2017-03-09 00:55:36 +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
Dominic Gannaway
4e9d7ac833
Merge pull request #9096 from trueadm/component-tree-hook-dev
...
[Fiber] Split dev methods within ReactComponentTreeHook
2017-03-07 14:09:22 +00:00
Dominic Gannaway
a159e85c46
removed inline boolean checks for methods
2017-03-07 13:35:41 +00:00
Brandon Dail
6ca2140c73
Remove _resetEventPlugins, use jest.resetModuleRegistry ( #9111 )
...
* Move EventPluginRegistry._resetEventPlugins to DEV
This is not called during runtime at all and is only using in internal unit tests. Despite that, its currently being included in production builds. This change makes it so its only defined in DEV, which might even be too much (we can maybe inject it in our unit tests to avoid defining it at all in EventPluginRegistry)
* Remove _resetEventsPlugin, use resetModuleRegistry
2017-03-07 02:25:24 +00:00
Ben Alpert
d79c6ab995
Fiber DOM async feature flag ( #9127 )
...
D4662171
2017-03-06 16:21:43 -08:00
Vincent Taing
bb149c8170
Fix redundant null type coercion ( #9114 )
2017-03-06 15:20:12 -08:00
Ben Alpert
678cb70da2
Fix radio buttons using stale props in Fiber ( #9126 )
...
D4662269
2017-03-06 14:58:29 -08:00
Andrew Clark
0b06b0b35e
Merge pull request #9121 from jddxf/refactor
...
Don't reset the return fiber again after cloning the child fibers
2017-03-06 12:21:10 -08:00
Dominic Gannaway
f992d54157
removed describe.only
2017-03-06 15:18:21 +00:00