Tim Yung
c749d951ad
React sync for revisions c0fe8d6...ae14317
...
Summary:
This sync includes the following changes:
- **[ae14317d6](https://github.com/facebook/react/commit/ae14317d6 )**: Inline fbjs/lib/emptyFunction (#13054 ) //<Dan Abramov>//
- **[72434a768](https://github.com/facebook/react/commit/72434a768 )**: Remove or inline some fbjs dependencies (#13046 ) //<Dan Abramov>//
- **[64c54edea](https://github.com/facebook/react/commit/64c54edea )**: Adding movementX and movementY to synthenticMouseEvent fixes #6723 (#9018 ) //<Jason Williams>//
- **[9bd4d1fae](https://github.com/facebook/react/commit/9bd4d1fae )**: Synchronously restart when an error is thrown during async rendering (#13041 ) //<Andrew Clark>//
- **[9bda7b28f](https://github.com/facebook/react/commit/9bda7b28f )**: Suspended high pri work forces lower priority work to expire early (#12965 ) //<Andrew Clark>//
- **[2e7577907](https://github.com/facebook/react/commit/2e7577907 )**: Fix incorrect data in compositionend event with Korean IME on IE11 (#10217 ) (#12563 ) //<Crux>//
- **[bc963f353](https://github.com/facebook/react/commit/bc963f353 )**: setJSResponder in Fabric renderer (#13031 ) //<Sebastian Markbåge>//
- **[051637da6](https://github.com/facebook/react/commit/051637da6 )**: Extract Fabric event handlers from canonical props (#13024 ) //<Sebastian Markbåge>//
- **[2a8085980](https://github.com/facebook/react/commit/2a8085980 )**: Remove rAF fork (#12980 ) //<Flarnie Marchan>//
- **[e0c78344e](https://github.com/facebook/react/commit/e0c78344e )**: Retry on error if there's lower priority pending work (#12957 ) //<Andrew Clark>//
- **[9725065eb](https://github.com/facebook/react/commit/9725065eb )**: Update bundle sizes for 16.4.1 release //<Dan Abramov>//
- **[0b87b2790](https://github.com/facebook/react/commit/0b87b2790 )**: Updating package versions for release 16.4.1 //<Dan Abramov>//
- **[036ae3c6e](https://github.com/facebook/react/commit/036ae3c6e )**: Use native event dispatching instead of Simulate or SimulateNative (#13023 ) //<Philipp Spieß>//
- **[945fc1bfc](https://github.com/facebook/react/commit/945fc1bfc )**: Call gDSFP with the right state in react-test-render (#13030 ) //<Rafał Ruciński>//
- **[392530104](https://github.com/facebook/react/commit/392530104 )**: Remove feature flag around 'getDerivedStateFromProps' bug fix (#13022 ) //<Flarnie Marchan>//
- **[1594409fa](https://github.com/facebook/react/commit/1594409fa )**: Scheduler depends on common packages (#13020 ) //<Dan Abramov>//
- **[d5c11193e](https://github.com/facebook/react/commit/d5c11193e )**: Added production profiling bundle type (#12886 ) //<Brian Vaughn>//
- **[ec60457bc](https://github.com/facebook/react/commit/ec60457bc )**: Popping context is O(1) in SSR (#13019 ) //<Dan Abramov>//
- **[30bc8ef79](https://github.com/facebook/react/commit/30bc8ef79 )**: Allow multiple root children in test renderer traversal API (#13017 ) //<Dan Abramov>//
- **[d480782c4](https://github.com/facebook/react/commit/d480782c4 )**: Don’t error when returning an empty Fragment (#12966 ) //<Philipp Spieß>//
- **[4ac6f133a](https://github.com/facebook/react/commit/4ac6f133a )**: Fallback to event.srcElement for IE9 (#12976 ) //<Nathan Hunzaker>//
- **[23be4102d](https://github.com/facebook/react/commit/23be4102d )**: Fixed an issue with nested contexts unwinding when server rendering. Issue #12984 (#12985 ) //<Eric Soderberg>//
- **[d0d428064](https://github.com/facebook/react/commit/d0d428064 )**: Remove old reference to inst._wrapperState (#12987 ) //<Nathan Hunzaker>//
- **[c78957eac](https://github.com/facebook/react/commit/c78957eac )**: Fix an SVG focusing crash in IE11 (#12996 ) //<Jifa Jiang>//
- **[bfb12ebb5](https://github.com/facebook/react/commit/bfb12ebb5 )**: delete a couple of redundant lines in performWorkOnRoot() in ReactFiberScheduler.js (#13003 ) //<Nathan Quarles>//
- **[394b17eed](https://github.com/facebook/react/commit/394b17eed )**: Update custom renderer docs //<Dan Abramov>//
- **[188c4252a](https://github.com/facebook/react/commit/188c4252a )**: Fix react-dom ReferenceError requestAnimationFrame in non-browser env (#13000 ) (#13001 ) //<Ivan Babak>//
- **[9cf3733a9](https://github.com/facebook/react/commit/9cf3733a9 )**: update comment in computeAsyncExpiration() to reflect code (#12994 ) //<Nathan Quarles>//
- **[c5a733e1e](https://github.com/facebook/react/commit/c5a733e1e )**: Fix links of docs on the comment (#12795 ) //<Ende93>//
- **[36546b513](https://github.com/facebook/react/commit/36546b513 )**: Set the correct initial value on input range (#12939 ) //<Maxime Nory>//
- **[15767a8f8](https://github.com/facebook/react/commit/15767a8f8 )**: [scheduler] 5/n Error handling in scheduler (#12920 ) //<Flarnie Marchan>//
- **[3118ed9d6](https://github.com/facebook/react/commit/3118ed9d6 )**: Expose unstable_interactiveUpdates on ReactDOM (#12943 ) //<Andrew Clark>//
- **[524a74331](https://github.com/facebook/react/commit/524a74331 )**: Fix for Flow issues in SimpleCacheProvider (#12942 ) //<Flarnie Marchan>//
- **[ae57b125c](https://github.com/facebook/react/commit/ae57b125c )**: [simple-cache-provider] Use LRU cache eviction (#12851 ) //<Andrew Clark>//
- **[e0a03c1b4](https://github.com/facebook/react/commit/e0a03c1b4 )**: Extend input type check in selection capabilities (#12062 ) (#12135 ) //<Spyros Ioakeimidis>//
- **[79a740c6e](https://github.com/facebook/react/commit/79a740c6e )**: Rename variables to remove references to 'global' global (#12931 ) //<Flarnie Marchan>//
- **[ff724d3c2](https://github.com/facebook/react/commit/ff724d3c2 )**: [scheduler] 4/n Allow splitting out `schedule` in fb-www, prepare to fix polyfill issue internally (#12900 ) //<Flarnie Marchan>//
- **[83f76e4db](https://github.com/facebook/react/commit/83f76e4db )**: ForwardRefs supports propTypes (#12911 ) //<Brian Vaughn>//
- **[8aeea5afa](https://github.com/facebook/react/commit/8aeea5afa )**: Do not assign node.value on input creation if no change will occur (#12925 ) //<Nathan Hunzaker>//
- **[aa85b0fd5](https://github.com/facebook/react/commit/aa85b0fd5 )**: Upgrade to Jest 23 (#12894 ) //<Simen Bekkhus>//
- **[61777a78f](https://github.com/facebook/react/commit/61777a78f )**: [scheduler] 3/n Use a linked list instead of map and queue for callback storage (#12893 ) //<Flarnie Marchan>//
- **[e7bd3d59a](https://github.com/facebook/react/commit/e7bd3d59a )**: No longer expose ReactNativeComponentTree (#12904 ) //<Sebastian Markbåge>//
- **[f35d989be](https://github.com/facebook/react/commit/f35d989be )**: TestRenderer warns if flushThrough is passed the wrong params (#12909 ) //<Brian Vaughn>//
- **[557870067](https://github.com/facebook/react/commit/557870067 )**: Record "actual" times for all Fibers within a Profiler tree (alt) (#12910 ) //<Brian Vaughn>//
- **[76e07071a](https://github.com/facebook/react/commit/76e07071a )**: [scheduler] 2/n Adding 'schedule' fixture (#12884 ) //<Flarnie Marchan>//
- **[345e0a71a](https://github.com/facebook/react/commit/345e0a71a )**: Improve tests for 'schedule' module (#12880 ) //<Flarnie Marchan>//
- **[8765d6089](https://github.com/facebook/react/commit/8765d6089 )**: Update bundle sizes for 16.4.0 release //<Andrew Clark>//
- **[d427a563d](https://github.com/facebook/react/commit/d427a563d )**: Updating package versions for release 16.4.0 //<Andrew Clark>//
- **[53852a887](https://github.com/facebook/react/commit/53852a887 )**: add functional components warning about legacy context api (#12892 ) //<Chang Yan>//
- **[fe747a51c](https://github.com/facebook/react/commit/fe747a51c )**: Add React.Timeout to getComponentName (#12890 ) //<Toru Kobayashi>//
- **[c601f7a64](https://github.com/facebook/react/commit/c601f7a64 )**: add siblings Timeout components test case (#12862 ) //<Chang Yan>//
- **[735035837](https://github.com/facebook/react/commit/735035837 )**: add legacy context API warning in strict mode (#12849 ) //<Chang Yan>//
- **[e88579184](https://github.com/facebook/react/commit/e88579184 )**: Fix a regression that caused us to listen to extra events at the top (#12878 ) //<Dan Abramov>//
- **[7c0aca289](https://github.com/facebook/react/commit/7c0aca289 )**: Rollup freeze: false (#12879 ) //<Brian Vaughn>//
- **[33289b530](https://github.com/facebook/react/commit/33289b530 )**: Tests and fixes for 'timing out' behavior (#12858 ) //<Flarnie Marchan>//
- **[ad27845cc](https://github.com/facebook/react/commit/ad27845cc )**: Fix double-firing submit events (#12877 ) //<Sophie Alpert>//
- **[dd5fad296](https://github.com/facebook/react/commit/dd5fad296 )**: Update Flow to 0.70 (#12875 ) //<Dan Abramov>//
- **[13003654e](https://github.com/facebook/react/commit/13003654e )**: Pass "start time" and "commit time" to Profiler callback (#12852 ) //<Brian Vaughn>//
- **[dc3b144f4](https://github.com/facebook/react/commit/dc3b144f4 )**: Treat Rollup "warnings" as errors (#12868 ) //<Dan Abramov>//
- **[d7b9b4921](https://github.com/facebook/react/commit/d7b9b4921 )**: Fix react native example links in README of 'react-reconciler' (#12871 ) //<Kevin (Kun) "Kassimo" Qian>//
- **[9bed4a6ae](https://github.com/facebook/react/commit/9bed4a6ae )**: https in reactProdInvariant text (#12869 ) //<Sophie Alpert>//
- **[47b003a82](https://github.com/facebook/react/commit/47b003a82 )**: Resolve host configs at build time (#12792 ) //<Dan Abramov>//
Release Notes:
[GENERAL] [FEATURE] [React] - React sync for revisions c0fe8d6...ae14317
Reviewed By: bvaughn
Differential Revision: D8458731
fbshipit-source-id: afefaa50685d43e70c8ea85c70d2e29dee311cbb
2018-06-16 00:46:24 -07:00
Sebastian Markbage
f59e5a8d28
React sync for revisions de84d5c...c0fe8d6
...
Reviewed By: acdlite
Differential Revision: D8066469
fbshipit-source-id: e228df105c3d9a887793595073ebfe8a1a1d4f3d
2018-05-18 20:22:45 -07:00
Tim Yung
2f4ca831bf
React sync for revisions bde4b16...de84d5c
...
Reviewed By: bvaughn
Differential Revision: D8018924
fbshipit-source-id: 1092ad70ebe95aee70ec3ea9a8edfb6ac46a66c4
2018-05-15 16:48:49 -07:00
Tim Yung
83169c95a3
React sync for revisions 0887c7d...bde4b16
...
Reviewed By: fkgozali, acdlite
Differential Revision: D7999962
fbshipit-source-id: 8ef358574244bd76fe5a67a1781d59a70fc9c449
2018-05-15 13:16:57 -07:00
Irene Feng
166264d63b
Back out "React sync for revisions 0887c7d...25dda90"
...
Reviewed By: acdlite
Differential Revision: D7973856
fbshipit-source-id: c9c687651ca752541b80693e2af2f07b31bbabad
2018-05-11 12:17:43 -07:00
Andrew Clark
0125813f21
React sync for revisions 0887c7d...25dda90
...
Reviewed By: sebmarkbage
Differential Revision: D7886956
fbshipit-source-id: 5a94df618ce26dee0876b627fbbaaf0a14a403fe
2018-05-07 11:15:12 -07:00
Rubén Norte
d5e9e55fa3
Remove @providesModule from all modules
...
Summary:
This PR removes the need for having the `providesModule` tags in all the modules in the repository.
It configures Flow, Jest and Metro to get the module names from the filenames (`Libraries/Animated/src/nodes/AnimatedInterpolation.js` => `AnimatedInterpolation`)
* Checked the Flow configuration by running flow on the project root (no errors):
```
yarn flow
```
* Checked the Jest configuration by running the tests with a clean cache:
```
yarn jest --clearCache && yarn test
```
* Checked the Metro configuration by starting the server with a clean cache and requesting some bundles:
```
yarn run start --reset-cache
curl 'localhost:8081/IntegrationTests/AccessibilityManagerTest.bundle?platform=android'
curl 'localhost:8081/Libraries/Alert/Alert.bundle?platform=ios'
```
[INTERNAL] [FEATURE] [All] - Removed providesModule from all modules and configured tools.
Closes https://github.com/facebook/react-native/pull/18995
Reviewed By: mjesun
Differential Revision: D7729509
Pulled By: rubennorte
fbshipit-source-id: 892f760a05ce1fddb088ff0cd2e97e521fb8e825
2018-04-25 07:37:10 -07:00
Brian Vaughn
908e8850b9
Forked RN renderers for FB and OSS (52afbe0...0887c7d)
...
Reviewed By: fkgozali
Differential Revision: D7658727
fbshipit-source-id: 2fdd30694b169d180b40bc1059ecc297b07cd18d
2018-04-18 15:04:53 -07:00