Tim Yung
672528ffde
React sync for revisions bc1ea9c...ade5e69
...
Summary:
This sync includes the following changes:
- **[ade5e6928](https://github.com/facebook/react/commit/ade5e6928 )**: Manually update schedule dep in react-native-renderer (#13609 ) //<Brian Vaughn>//
- **[f260b14a8](https://github.com/facebook/react/commit/f260b14a8 )**: Fix host bailout for the persistent mode (#13611 ) //<Dan Abramov>//
- **[4a40d7624](https://github.com/facebook/react/commit/4a40d7624 )**: Fix a regression related to isReactComponent prototype check (#13608 ) //<Dan Abramov>//
- **[03ab1efeb](https://github.com/facebook/react/commit/03ab1efeb )**: Improve DX when combining react-dom/profiling and schedule/tracking (#13605 ) //<Brian Vaughn>//
- **[144328fe8](https://github.com/facebook/react/commit/144328fe8 )**: Enable no-use-before-define rule (#13606 ) //<Dan Abramov>//
- **[8a8d973d3](https://github.com/facebook/react/commit/8a8d973d3 )**: Use clearer wording //<Dan>//
- **[7d1169b2d](https://github.com/facebook/react/commit/7d1169b2d )**: Remove injectComponentTree from unstable-native-dependencies, add EventPluginHub (#13598 ) //<Brandon Dail>//
- **[8d1038fc6](https://github.com/facebook/react/commit/8d1038fc6 )**: Break up ReactDOMServerIntegrationForm-test (#13600 ) //<Nathan Hunzaker>//
- **[b87aabdfe](https://github.com/facebook/react/commit/b87aabdfe )**: Drop the year from Facebook copyright headers and the LICENSE file. (#13593 ) //<Héctor Ramos>//
- **[e417e0bf7](https://github.com/facebook/react/commit/e417e0bf7 )**: Update ReactNativeViewConfigRegistry Flow Types (#13579 ) //<Timothy Yung>//
- **[71c0e05ba](https://github.com/facebook/react/commit/71c0e05ba )**: Update bundle sizes for 16.5.0 release //<Brian Vaughn>//
- **[6255cc394](https://github.com/facebook/react/commit/6255cc394 )**: Updating package versions for release 16.5.0 //<Brian Vaughn>//
- **[28cb37978](https://github.com/facebook/react/commit/28cb37978 )**: Added a test for Profiler onRender that throws (#13575 ) //<Brian Vaughn>//
- **[8963118b3](https://github.com/facebook/react/commit/8963118b3 )**: Update react-dom README //<Dan Abramov>//
- **[b47a28cb9](https://github.com/facebook/react/commit/b47a28cb9 )**: Tweak react-dom README //<Dan Abramov>//
- **[f765f0225](https://github.com/facebook/react/commit/f765f0225 )**: When a root expires, flush all expired work in a single batch (#13503 ) //<Andrew Clark>//
- **[550dd1d2e](https://github.com/facebook/react/commit/550dd1d2e )**: Call Profiler onRender after mutations (#13572 ) //<Brian Vaughn>//
- **[34348a45b](https://github.com/facebook/react/commit/34348a45b )**: Add enableSuspenseServerRenderer feature flag (#13573 ) //<Alex Taylor>//
- **[4e744be6e](https://github.com/facebook/react/commit/4e744be6e )**: Added react-dom/profiling entry point to NPM package (#13570 ) //<Brian Vaughn>//
- **[bb627228e](https://github.com/facebook/react/commit/bb627228e )**: test: add test for fragement props (#13565 ) //<laoxiong>//
- **[9a110ebd8](https://github.com/facebook/react/commit/9a110ebd8 )**: Cleaned up 'schedule' API wrt interactions and subscriber ref: (#13561 ) //<Brian Vaughn>//
- **[fb88fd9d8](https://github.com/facebook/react/commit/fb88fd9d8 )**: Fixed schedule/tracking require for www sync script (#13556 ) //<Brian Vaughn>//
- **[955393cab](https://github.com/facebook/react/commit/955393cab )**: refactor: remove emove type judgment when defining warning props (#13553 ) //<laoxiong>//
- **[ff9399602](https://github.com/facebook/react/commit/ff9399602 )**: Fix import of ReactDOM in server env //<Dan Abramov>//
- **[281bd64c0](https://github.com/facebook/react/commit/281bd64c0 )**: Fix test file name //<Dan Abramov>//
- **[d6b59e3d2](https://github.com/facebook/react/commit/d6b59e3d2 )**: Check document.documentMode once //<Dan Abramov>//
- **[52633c84e](https://github.com/facebook/react/commit/52633c84e )**: Try/finally //<Dan Abramov>//
- **[2d4705e75](https://github.com/facebook/react/commit/2d4705e75 )**: Make IE 11 not complain about non-crucial style attribute hydration mismatch (#13534 ) //<Michał Gołębiowski-Owczarek>//
- **[25d48a728](https://github.com/facebook/react/commit/25d48a728 )**: Add gridArea to unitless CSS properties (#13550 ) //<Michał Gołębiowski-Owczarek>//
- **[877f8bc6b](https://github.com/facebook/react/commit/877f8bc6b )**: Renamed schedule UMD forwarding methods to stay in-sync with SECRET_INTERNALS change (#13549 ) //<Brian Vaughn>//
- **[0a96f9057](https://github.com/facebook/react/commit/0a96f9057 )**: Revert "Extract common logic" (#13547 ) //<Dan Abramov>//
- **[17a57adde](https://github.com/facebook/react/commit/17a57adde )**: Fix test //<Dan Abramov>//
- **[605da8b42](https://github.com/facebook/react/commit/605da8b42 )**: Extract common logic (#13535 ) //<Heaven>//
- **[69f9f4127](https://github.com/facebook/react/commit/69f9f4127 )**: Document event bubble order (#13546 ) //<Philipp>//
- **[c1ba7b8cf](https://github.com/facebook/react/commit/c1ba7b8cf )**: Remove www scheduler fork (#13545 ) //<Dan Abramov>//
- **[b473d5f86](https://github.com/facebook/react/commit/b473d5f86 )**: Secret exports: Scheduler => Schedule (#13544 ) //<Dan Abramov>//
- **[6312efc34](https://github.com/facebook/react/commit/6312efc34 )**: Tweak README and description //<Dan Abramov>//
- **[b92f947af](https://github.com/facebook/react/commit/b92f947af )**: Rename "react-scheduler" package to "schedule" (#13543 ) //<Brian Vaughn>//
- **[3c1dcd349](https://github.com/facebook/react/commit/3c1dcd349 )**: Expose less internals for TestUtils (#13539 ) //<Dan Abramov>//
- **[0b74e95d7](https://github.com/facebook/react/commit/0b74e95d7 )**: Ignore noscript content on the client (#13537 ) //<Fredrik Höglund>//
- **[8a1e3962a](https://github.com/facebook/react/commit/8a1e3962a )**: Remove negative lookbehind from Rollup plugin that broke Node <= v8.9 (#13538 ) //<Brian Vaughn>//
- **[9604d26ae](https://github.com/facebook/react/commit/9604d26ae )**: Rename ReactDOMFiber* to ReactDOM* (#13540 ) //<Dan Abramov>//
- **[28b928902](https://github.com/facebook/react/commit/28b928902 )**: Tidied up scheduling UMD API forwarding test (#13533 ) //<Brian Vaughn>//
- **[bf8aa6092](https://github.com/facebook/react/commit/bf8aa6092 )**: Added Jest test to verify UMD API-forwarding for scheduling package (#13532 ) //<Brian Vaughn>//
- **[0040efc8d](https://github.com/facebook/react/commit/0040efc8d )**: Fix a typo (#13531 ) //<Heaven>//
- **[46950a3df](https://github.com/facebook/react/commit/46950a3df )**: Interaction tracking follow up (#13509 ) //<Brian Vaughn>//
- **[0452c9bba](https://github.com/facebook/react/commit/0452c9bba )**: Add a regression test for #4618 //<Dan Abramov>//
- **[c21bab694](https://github.com/facebook/react/commit/c21bab694 )**: Add SSR regression test for #6119 //<Dan Abramov>//
- **[0d3fc9de1](https://github.com/facebook/react/commit/0d3fc9de1 )**: Add regression test for #6119 //<Dan Abramov>//
- **[0f050ad7c](https://github.com/facebook/react/commit/0f050ad7c )**: Make regression test better //<Dan Abramov>//
- **[f94342323](https://github.com/facebook/react/commit/f94342323 )**: Add a more precise regression test for #6219 //<Dan Abramov>//
- **[a3e4d0008](https://github.com/facebook/react/commit/a3e4d0008 )**: Fixed typo (#13519 ) //<Ivan>//
- **[b3d8c5376](https://github.com/facebook/react/commit/b3d8c5376 )**: [RN] Remove isMounted() false positive warning (#13511 ) //<Dan Abramov>//
- **[d2123d656](https://github.com/facebook/react/commit/d2123d656 )**: Sync React Native Flow Changes (#13513 ) //<Timothy Yung>//
- **[1c0ba70b4](https://github.com/facebook/react/commit/1c0ba70b4 )**: Fix test to use AsyncMode //<Dan>//
- **[6e4f7c788](https://github.com/facebook/react/commit/6e4f7c788 )**: Profiler integration with interaction-tracking package (#13253 ) //<Brian Vaughn>//
- **[2967ebdbe](https://github.com/facebook/react/commit/2967ebdbe )**: Remove buggy unstable_deferredUpdates() (#13488 ) //<Dan Abramov>//
- **[1664b08f0](https://github.com/facebook/react/commit/1664b08f0 )**: added flow types to setInnerHTML (#13495 ) //<Bryan M>//
- **[672e859d3](https://github.com/facebook/react/commit/672e859d3 )**: Add warning to prevent setting this.state to this.props referentially (#11658 ) //<Veekas Shrivastava>//
- **[29287f088](https://github.com/facebook/react/commit/29287f088 )**: Rename lowestPendingInteractiveExpirationTime (#13484 ) //<Heaven>//
- **[d400d6d5e](https://github.com/facebook/react/commit/d400d6d5e )**: Replace magic number 1 with ELEMENT_NODE (#13479 ) //<Heaven>//
- **[340bfd939](https://github.com/facebook/react/commit/340bfd939 )**: Rename ReactTypeOfWork to ReactWorkTags, ReactTypeOfSideEffect to ReactSideEffectTags (#13476 ) //<Sophie Alpert>//
- **[5cefd9b1e](https://github.com/facebook/react/commit/5cefd9b1e )**: Stringify <option> children (#13465 ) //<Dan Abramov>//
- **[3661616c2](https://github.com/facebook/react/commit/3661616c2 )**: Improve test harness of submit events (#13463 ) //<Philipp Spieß>//
- **[a1be17140](https://github.com/facebook/react/commit/a1be17140 )**: Revert "Rely on bubbling for submit and reset events (#13358 )" (#13462 ) //<Dan Abramov>//
- **[90c92c700](https://github.com/facebook/react/commit/90c92c700 )**: Fix warning message //<Dan Abramov>//
- **[5cb0f2bf5](https://github.com/facebook/react/commit/5cb0f2bf5 )**: Change www error shim API (#13454 ) //<Dan Abramov>//
- **[e106b8c44](https://github.com/facebook/react/commit/e106b8c44 )**: Warn about unsafe toWarnDev() nesting in tests (#12457 ) //<Brian Vaughn>//
- **[026aa9c97](https://github.com/facebook/react/commit/026aa9c97 )**: Bumped version to 16.4.3-alpha.0 (#13448 ) //<Brian Vaughn>//
- **[d670bdc6b](https://github.com/facebook/react/commit/d670bdc6b )**: Warn about ReactDOM.createPortal usage within ReactTestRenderer (#12895 ) //<Brian Vaughn>//
- **[bf1abf478](https://github.com/facebook/react/commit/bf1abf478 )**: Fix React.lazy(forwardRef) (#13446 ) //<Dan Abramov>//
- **[e8571c798](https://github.com/facebook/react/commit/e8571c798 )**: Tweak ReactTypeOfWork order (#13444 ) //<Dan Abramov>//
- **[973496b40](https://github.com/facebook/react/commit/973496b40 )**: Fix component name for React.lazy (#13443 ) //<Dan Abramov>//
- **[0beb2ee76](https://github.com/facebook/react/commit/0beb2ee76 )**: Fix incorrect legacy context for factory components (#13441 ) //<Dan Abramov>//
- **[004cb21bb](https://github.com/facebook/react/commit/004cb21bb )**: Short circuit the logic for exporting a module (#13392 ) //<Joseph>//
- **[f7a538c91](https://github.com/facebook/react/commit/f7a538c91 )**: Remove getTextContentAccessor (#13434 ) //<Brandon Dail>//
- **[d1c42d2f1](https://github.com/facebook/react/commit/d1c42d2f1 )**: Remove addEventListener check in isEventSupported (#13435 ) //<Brandon Dail>//
- **[a869f992a](https://github.com/facebook/react/commit/a869f992a )**: Remove helper object from FallbackCompositionState (#13430 ) //<Brandon Dail>//
- **[0cd8d470d](https://github.com/facebook/react/commit/0cd8d470d )**: Do not toLowerCase lists of lowercase words (#13428 ) //<Nathan Hunzaker>//
- **[b3a4cfea5](https://github.com/facebook/react/commit/b3a4cfea5 )**: Trap click events for portal root (#11927 ) //<Brandon Dail>//
- **[0da5102cf](https://github.com/facebook/react/commit/0da5102cf )**: Add interaction-tracking/subscriptions (#13426 ) //<Brian Vaughn>//
- **[4b32f525e](https://github.com/facebook/react/commit/4b32f525e )**: Refactor away some namespace imports (#13427 ) //<Dan Abramov>//
- **[d2f5c3fbc](https://github.com/facebook/react/commit/d2f5c3fbc )**: Don't diff memoized host components in completion phase (#13423 ) //<Dan Abramov>//
- **[5e0f073d5](https://github.com/facebook/react/commit/5e0f073d5 )**: interaction-tracking package (#13234 ) //<Brian Vaughn>//
- **[d14e443d6](https://github.com/facebook/react/commit/d14e443d6 )**: Resume onSelect tracking after dragend (#13422 ) //<Dan Abramov>//
- **[d5edc1f51](https://github.com/facebook/react/commit/d5edc1f51 )**: Remove unused ReactCall & ReactReturn types (#13419 ) //<Esteban>//
- **[4fa20b53b](https://github.com/facebook/react/commit/4fa20b53b )**: Don't pass instanceHandle to clones (#13125 ) //<Sebastian Markbåge>//
- **[fe959eea7](https://github.com/facebook/react/commit/fe959eea7 )**: React.lazy (#13398 ) //<Andrew Clark>//
- **[2b3082800](https://github.com/facebook/react/commit/2b3082800 )**: Fix wrong Flow return type //<Andrew Clark>//
- **[5031ebf6b](https://github.com/facebook/react/commit/5031ebf6b )**: Accept promise as element type (#13397 ) //<Andrew Clark>//
- **[77b7a660b](https://github.com/facebook/react/commit/77b7a660b )**: fix: do not reconcile children that are iterable functions (#13416 ) //<Rauno Freiberg>//
- **[cb7745c6c](https://github.com/facebook/react/commit/cb7745c6c )**: remove unused state initialValue from ReactDOMFiberSelect (#13412 ) //<Kartik Lad>//
- **[9832a1b6d](https://github.com/facebook/react/commit/9832a1b6d )**: Avoid setting empty value on reset & submit inputs (#12780 ) //<Ellis Clayton>//
- **[8862172fa](https://github.com/facebook/react/commit/8862172fa )**: Provide a better error message (#12421 ) //<Aaron Brager>//
- **[581682917](https://github.com/facebook/react/commit/581682917 )**: De-duplicate commitUpdateQueue effect commit (#13403 ) //<Ruud Burger>//
- **[1bc975d07](https://github.com/facebook/react/commit/1bc975d07 )**: Don't stop context traversal at matching consumers (#13391 ) //<Andrew Clark>//
- **[83e446e1d](https://github.com/facebook/react/commit/83e446e1d )**: Refactor ReactErrorUtils (#13406 ) //<Dan Abramov>//
- **[13fa96a54](https://github.com/facebook/react/commit/13fa96a54 )**: Improve bad ref invariant (#13408 ) //<Dan Abramov>//
- **[b2adcfba3](https://github.com/facebook/react/commit/b2adcfba3 )**: Don't suppress jsdom error reporting in our tests (#13401 ) //<Dan Abramov>//
- **[69e2a0d73](https://github.com/facebook/react/commit/69e2a0d73 )**: Ability to access window.event in development (#11687 ) (#11696 ) //<Conrad Irwin>//
- **[ade4dd3f6](https://github.com/facebook/react/commit/ade4dd3f6 )**: Fix typo in a comment (#13373 ) //<davidblnc>//
- **[2c59076d2](https://github.com/facebook/react/commit/2c59076d2 )**: Warn when "false" or "true" is the value of a boolean DOM prop (#13372 ) //<Moti Zilberman>//
- **[de5102c4c](https://github.com/facebook/react/commit/de5102c4c )**: Ignore symbols and functions in select tag (#13389 ) //<Rauno Freiberg>//
- **[d04d03e47](https://github.com/facebook/react/commit/d04d03e47 )**: Fix passing symbols and functions to textarea (#13362 ) //<Rauno Freiberg>//
- **[5550ed4a8](https://github.com/facebook/react/commit/5550ed4a8 )**: Ensure arguments are coerced to strings in warnings (#13385 ) //<Nathan Hunzaker>//
- **[3938ccc88](https://github.com/facebook/react/commit/3938ccc88 )**: Allow the user to opt out of seeing "The above error..." addendum (#13384 ) //<Dan Abramov>//
- **[47e217a77](https://github.com/facebook/react/commit/47e217a77 )**: Provide component reference in ReactDOMFiberTextarea warnings (#13361 ) //<Rauno Freiberg>//
- **[a0190f828](https://github.com/facebook/react/commit/a0190f828 )**: Rename SafeValue to ToStringValue (#13376 ) //<Philipp Spieß>//
- **[33602d435](https://github.com/facebook/react/commit/33602d435 )**: Improve soundness of ReactDOMFiberInput typings (#13367 ) //<Philipp Spieß>//
- **[ae855cec2](https://github.com/facebook/react/commit/ae855cec2 )**: Support tangentialPressure and twist fields of pointer events (#13374 ) //<Moti Zilberman>//
- **[725e499cf](https://github.com/facebook/react/commit/725e499cf )**: Rely on bubbling for submit and reset events (#13358 ) //<Philipp Spieß>//
- **[e07a3cd28](https://github.com/facebook/react/commit/e07a3cd28 )**: fix typo on inline comment (#13364 ) //<Alex Rohleder>//
- **[e0204084a](https://github.com/facebook/react/commit/e0204084a )**: Fix typos detected by github.com/client9/misspell (#13349 ) //<Kazuhiro Sera>//
- **[be4533af7](https://github.com/facebook/react/commit/be4533af7 )**: Fix hydration of non-string dangerousSetInnerHTML.__html (#13353 ) //<Dan Abramov>//
- **[0072b5998](https://github.com/facebook/react/commit/0072b5998 )**: Improve scry() error message for bad first argument (#13351 ) //<Dan Abramov>//
- **[d59b993a7](https://github.com/facebook/react/commit/d59b993a7 )**: Make nicer stacks DEV-only //<Dan>//
- **[54d86eb82](https://github.com/facebook/react/commit/54d86eb82 )**: Improve display of filenames in component stack (#12059 ) //<Billy Janitsch>//
- **[067cc24f5](https://github.com/facebook/react/commit/067cc24f5 )**: Profiler actualDuration bugfix (#13313 ) //<Brian Vaughn>//
- **[3cfab14b9](https://github.com/facebook/react/commit/3cfab14b9 )**: Treat focusable as enumerated boolean SVG attribute (#13339 ) //<Dan Abramov>//
- **[3b3b7fcbb](https://github.com/facebook/react/commit/3b3b7fcbb )**: Don't search beyond Sync roots for highest priority work (#13335 ) //<Dan Abramov>//
- **[08e32263f](https://github.com/facebook/react/commit/08e32263f )**: Fix Prettier "No parser" warning while building (#13323 ) //<Bartosz Kaszubowski>//
- **[ac7238856](https://github.com/facebook/react/commit/ac7238856 )**: Add support for auxclick event (#11571 ) //<Jason Quense>//
- **[75491a8f4](https://github.com/facebook/react/commit/75491a8f4 )**: Add a regression test for #12200 (#12242 ) //<Gareth Small>//
- **[2d0356a52](https://github.com/facebook/react/commit/2d0356a52 )**: Make sure that `select` has `multiple` attribute set to appropriate state before appending options (#13270 ) //<Dmytro Zasyadko>//
- **[b179bae0a](https://github.com/facebook/react/commit/b179bae0a )**: Enhance get derived state from props state warning - #12670 (#13317 ) //<Felix Wu>//
- **[15a8f0318](https://github.com/facebook/react/commit/15a8f0318 )**: Fix ambiguity in doc comment for isValidElement (#12826 ) //<Alexey>//
- **[5cff21207](https://github.com/facebook/react/commit/5cff21207 )**: add flowtype to function signature (#13285 ) //<ryota-murakami>//
- **[b565f4953](https://github.com/facebook/react/commit/b565f4953 )**: Minimally support iframes (nested browsing contexts) in selection event handling (#12037 ) //<Andrew Patton>//
- **[1609cf343](https://github.com/facebook/react/commit/1609cf343 )**: Warn about rendering Generators (#13312 ) //<Dan Abramov>//
- **[46d5afc54](https://github.com/facebook/react/commit/46d5afc54 )**: Replace console.error() with a throw in setTimeout() as last resort exception logging (#13310 ) //<Dan Abramov>//
- **[b3b80a483](https://github.com/facebook/react/commit/b3b80a483 )**: Inject react-art renderer into react-devtools (#13173 ) //<Yunchan Cho>//
- **[5e8beec84](https://github.com/facebook/react/commit/5e8beec84 )**: Add a regression test for #11602 //<Dan Abramov>//
- **[470377bbd](https://github.com/facebook/react/commit/470377bbd )**: Remove extraneous condition //<Dan Abramov>//
- **[6db080154](https://github.com/facebook/react/commit/6db080154 )**: Remove irrelevant suggestion of a legacy method from a warning (#13169 ) //<Ideveloper>//
- **[f60a7f722](https://github.com/facebook/react/commit/f60a7f722 )**: Fix SSR crash on a hasOwnProperty attribute (#13303 ) //<Dan Abramov>//
- **[ff41519ec](https://github.com/facebook/react/commit/ff41519ec )**: Sanitize unknown attribute names for SSR (#13302 ) //<Dan Abramov>//
- **[c44c2a216](https://github.com/facebook/react/commit/c44c2a216 )**: More helpful message when passing an element to createElement() (#13131 ) //<Dylan Cutler>//
- **[28cd494bd](https://github.com/facebook/react/commit/28cd494bd )**: Refactor validateDOMNesting a bit (#13300 ) //<Dan Abramov>//
- **[b381f4141](https://github.com/facebook/react/commit/b381f4141 )**: Allow Electrons <webview> tag (#13301 ) //<Philipp Spieß>//
- **[0182a7463](https://github.com/facebook/react/commit/0182a7463 )**: Fix a crash when using dynamic children in <option> tag (#13261 ) //<Konstantin Yakushin>//
- **[2a2ef7e0f](https://github.com/facebook/react/commit/2a2ef7e0f )**: Remove unnecessary branching from updateContextProvider (#13282 ) //<Andrew Clark>//
- **[840cb1a26](https://github.com/facebook/react/commit/840cb1a26 )**: Add an invariant to createRoot() to validate containers (#13279 ) //<Dan Abramov>//
Release Notes:
[GENERAL] [FEATURE] [React] - React sync for revisions bc1ea9c...ade5e69
Reviewed By: bvaughn
Differential Revision: D9561644
fbshipit-source-id: 3be120d7450f310af458897d54993a6c086cff2f
2018-09-10 14:47:11 -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
e574b85db6
React sync for revisions 9d484ed...1c2876d
...
Reviewed By: gaearon
Differential Revision: D7500761
fbshipit-source-id: 8dc1cda879942fc4990b23144a616039fdbe6dc0
2018-04-04 15:20:13 -07:00
Héctor Ramos
3b36a6bf06
React sync for revisions ced176e...9d484ed
...
Reviewed By: bvaughn
Differential Revision: D7338640
fbshipit-source-id: e2d75d2f1795fb3c37f193d15216951c707711d9
2018-03-20 17:14:40 -07:00
Héctor Ramos
4f8328bf2f
React sync for revisions ab4280b...ad9544f
...
Reviewed By: bvaughn
Differential Revision: D7256390
fbshipit-source-id: 9fe1324da93cb8f4a7f478e1037944774b9b95ff
2018-03-14 09:02:31 -07:00
David Vacca
9b3861c109
Fix unmount of ReactRootView for Fabric surfaces
...
Reviewed By: fkgozali
Differential Revision: D7114865
fbshipit-source-id: f0a1c47c983e610fe0dba3051ed8aa350ac052cc
2018-03-01 10:33:21 -08:00
Kevin Gozali
94dac23583
Added ReactFabric shim
...
Summary:
A simple shim just like ReactNative.js
Plus a fork of renderApplication that exclusively will call ReactFabric.
Reviewed By: mdvacca
Differential Revision: D6919080
fbshipit-source-id: 5807105a6c45dd99584eb92a5570c6076e2d56b9
2018-02-06 21:49:37 -08:00