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
Andrew Clark
b7bb25fe4c
React sync for revisions ca0941f...bc1ea9c
...
Summary:
@public
This sync includes the following changes:
- **[bc1ea9cd9](https://github.com/facebook/react/commit/bc1ea9cd9 )**: Handle errors thrown in gDSFP of a module-style context provider (#13269 ) //<Andrew Clark>//
- **[0154a79fe](https://github.com/facebook/react/commit/0154a79fe )**: Remove 'warning' module from the JS scheduler (#13264 ) //<Flarnie Marchan>//
- **[dbd16c8a9](https://github.com/facebook/react/commit/dbd16c8a9 )**: Add flow directive to findDOMNode shim (#13265 ) //<Brian Vaughn>//
Release Notes:
[GENERAL] [FEATURE] [React] - React sync for revisions ca0941f...bc1ea9c
Reviewed By: bvaughn
Differential Revision: D9005608
fbshipit-source-id: c293add468badc5323179fda9341912710d4e840
2018-07-25 16:17:51 -07:00
Héctor Ramos
70913a4623
React sync for revisions ae14317...ca0941f
...
Summary:
@public
This sync includes the following changes:
- **[ca0941fce](https://github.com/facebook/react/commit/ca0941fce )**: Add regression test for Placeholder fallbacks with lifecycle methods (#13254 ) //<Andrew Clark>//
- **[a32c727f2](https://github.com/facebook/react/commit/a32c727f2 )**: Optimize readContext for Subsequent Reads of All Bits (#13248 ) //<Sebastian Markbåge>//
- **[2b509e2c8](https://github.com/facebook/react/commit/2b509e2c8 )**: [Experimental] API for reading context from within any render phase function (#13139 ) //<Andrew Clark>//
- **[5776fa3fc](https://github.com/facebook/react/commit/5776fa3fc )**: Update www warning shim (#13244 ) //<Dan Abramov>//
- **[3d3506d37](https://github.com/facebook/react/commit/3d3506d37 )**: Include Modes in the component stack (#13240 ) //<Dan Abramov>//
- **[71b4e9990](https://github.com/facebook/react/commit/71b4e9990 )**: [react-test-renderer] Jest matchers for async tests (#13236 ) //<Andrew Clark>//
- **[2c560cb99](https://github.com/facebook/react/commit/2c560cb99 )**: Fix unwinding starting with a wrong Fiber on error in the complete phase (#13237 ) //<Dan Abramov>//
- **[ead08827d](https://github.com/facebook/react/commit/ead08827d )**: Add more flexibility in testing errors in begin/complete phases (#13235 ) //<Dan Abramov>//
- **[e4e58343e](https://github.com/facebook/react/commit/e4e58343e )**: Move unstable_yield to main export (#13232 ) //<Andrew Clark>//
- **[0e235bb8f](https://github.com/facebook/react/commit/0e235bb8f )**: Removed unused state argument in unsubscribe method of <Subscription /> (#13233 ) //<Mateusz Burzyński>//
- **[236f60872](https://github.com/facebook/react/commit/236f60872 )**: Fail tests if toWarnDev() does not wrap warnings in array (#13227 ) //<Dan Abramov>//
- **[acbb4f93f](https://github.com/facebook/react/commit/acbb4f93f )**: Remove the use of proxies for synthetic events in DEV (#13225 ) //<Dan Abramov>//
- **[171e0b7d4](https://github.com/facebook/react/commit/171e0b7d4 )**: Fix “no onChange handler” warning to fire on falsy values ("", 0, false) too (#12628 ) //<Nicole Levy>//
- **[606c30aa5](https://github.com/facebook/react/commit/606c30aa5 )**: fixed a typo in commentout in ReactFiberUnwindWork.js (#13172 ) //<Fumiya Shibusawa>//
- **[9f78913b2](https://github.com/facebook/react/commit/9f78913b2 )**: Update prettier (#13205 ) //<Johan Henriksson>//
- **[6d3e26288](https://github.com/facebook/react/commit/6d3e26288 )**: Remove unnecessary `typeof` checks (#13196 ) //<jddxf>//
- **[82c7ca4cc](https://github.com/facebook/react/commit/82c7ca4cc )**: Add component stacks to some warnings (#13218 ) //<Dan Abramov>//
- **[21ac62c77](https://github.com/facebook/react/commit/21ac62c77 )**: Fix a portal unmounting crash for renderers with distinct Instance and Container (#13220 ) //<Thibault Malbranche>//
- **[d6a0626b3](https://github.com/facebook/react/commit/d6a0626b3 )**: Set current fiber during before-mutation traversal (#13219 ) //<Dan Abramov>//
- **[f9358c51c](https://github.com/facebook/react/commit/f9358c51c )**: Change warning() to automatically inject the stack, and add warningWithoutStack() as opt-out (#13161 ) //<Dan Abramov>//
- **[467d13910](https://github.com/facebook/react/commit/467d13910 )**: Enforce presence or absence of component stack in tests (#13215 ) //<Dan Abramov>//
- **[43ffae2d1](https://github.com/facebook/react/commit/43ffae2d1 )**: Suspending inside a constructor outside of strict mode (#13200 ) //<Andrew Clark>//
- **[659a29cec](https://github.com/facebook/react/commit/659a29cec )**: Reorganize how shared internals are accessed (#13201 ) //<Dan Abramov>//
- **[58f3b29d9](https://github.com/facebook/react/commit/58f3b29d9 )**: Added SSR/hydration tests for modes, forwardRef, and Profiler (#13195 ) //<Brian Vaughn>//
- **[1c89cb62f](https://github.com/facebook/react/commit/1c89cb62f )**: Use ReactDebugCurrentFrame.getStackAddendum() in element validator (#13198 ) //<Dan Abramov>//
- **[e6076ecf4](https://github.com/facebook/react/commit/e6076ecf4 )**: Remove ad-hoc forks of getComponentName() and fix it (#13197 ) //<Dan Abramov>//
- **[32f6f258b](https://github.com/facebook/react/commit/32f6f258b )**: Remove event simulation of onChange events (#13176 ) //<Philipp Spieß>//
- **[9ca37f843](https://github.com/facebook/react/commit/9ca37f843 )**: docs: update comments (#13043 ) //<Sen Yang>//
- **[f89f25f47](https://github.com/facebook/react/commit/f89f25f47 )**: Correct type of `ref` in forwardRef render() (#13100 ) //<Moti Zilberman>//
- **[7b99ceabe](https://github.com/facebook/react/commit/7b99ceabe )**: Deprecate test utils mock component follow up (#13194 ) //<Brian Vaughn>//
- **[6ebc8f3c0](https://github.com/facebook/react/commit/6ebc8f3c0 )**: Add support for re-entrant SSR stacks (#13181 ) //<Dan Abramov>//
- **[d64d1ddb5](https://github.com/facebook/react/commit/d64d1ddb5 )**: Deprecate ReactTestUtils.mockComponent() (#13193 ) //<Brian Vaughn>//
- **[e79366d54](https://github.com/facebook/react/commit/e79366d54 )**: Link create-subscription doc to GH issue with de-opt explanation (#13187 ) //<Brian Vaughn>//
- **[1f32d3c6d](https://github.com/facebook/react/commit/1f32d3c6d )**: Test renderer flushAll method verifies an array of expected yields (#13174 ) //<Brian Vaughn>//
- **[377e1a049](https://github.com/facebook/react/commit/377e1a049 )**: Add a test for SSR stack traces (#13180 ) //<Dan Abramov>//
- **[96d38d178](https://github.com/facebook/react/commit/96d38d178 )**: Fix concatenation of null to a warning message (#13166 ) //<Dan Abramov>//
- **[095dd5049](https://github.com/facebook/react/commit/095dd5049 )**: Add DEV warning if forwardRef function doesn't use the ref param (#13168 ) //<Brian Vaughn>//
- **[566259567](https://github.com/facebook/react/commit/566259567 )**: Refactor stack handling (no functional changes) (#13165 ) //<Dan Abramov>//
- **[ebbd22143](https://github.com/facebook/react/commit/ebbd22143 )**: Configure react-test-renderer as a secondary (#13164 ) //<Brandon Dail>//
- **[ddc91af79](https://github.com/facebook/react/commit/ddc91af79 )**: Decrease nested update limit from 1000 to 50 (#13163 ) //<Andrew Clark>//
- **[3596e40b3](https://github.com/facebook/react/commit/3596e40b3 )**: Fix nested update bug (#13160 ) //<Andrew Clark>//
- **[449f6ddd5](https://github.com/facebook/react/commit/449f6ddd5 )**: create a new FeatureFlags file for test renderer on www (#13159 ) //<Chang Yan>//
- **[f762b3abb](https://github.com/facebook/react/commit/f762b3abb )**: Run react-dom SSR import test in jsdom-less environment (#13157 ) //<Dan Abramov>//
- **[6f6b560a6](https://github.com/facebook/react/commit/6f6b560a6 )**: Renamed selfBaseTime/treeBaseTime Fiber attributes to selfBaseDuration/treeBaseDuration (#13156 ) //<Brian Vaughn>//
- **[1386ccddd](https://github.com/facebook/react/commit/1386ccddd )**: Fix ReferenceError when requestAnimationFrame isn't defined (#13152 ) //<Dan Abramov>//
- **[f5779bbc1](https://github.com/facebook/react/commit/f5779bbc1 )**: Run server rendering test on bundles (#13153 ) //<Dan Abramov>//
- **[9faf389e7](https://github.com/facebook/react/commit/9faf389e7 )**: Reset profiler timer correctly after errors (#13123 ) //<Brian Vaughn>//
- **[85fe4ddce](https://github.com/facebook/react/commit/85fe4ddce )**: Fix - issue #12765 / the checked attribute is not initially set on the input (#13114 ) //<XuMM_12>//
- **[07fefe333](https://github.com/facebook/react/commit/07fefe333 )**: Drop handling for ms and O prefixes for CSS transition and animation events. (#13133 ) //<Rouven Weßling>//
- **[88d7ed8bf](https://github.com/facebook/react/commit/88d7ed8bf )**: React.Timeout -> React.Placeholder (#13105 ) //<Andrew Clark>//
- **[f128fdea4](https://github.com/facebook/react/commit/f128fdea4 )**: Suspending outside of strict trees and async trees (#13098 ) //<Andrew Clark>//
- **[aa8266c4f](https://github.com/facebook/react/commit/aa8266c4f )**: Prepare placeholders before timing out (#13092 ) //<Andrew Clark>//
- **[c039c16f2](https://github.com/facebook/react/commit/c039c16f2 )**: Fix this in a functional component for ShallowRenderer (#13144 ) //<Toru Kobayashi>//
- **[64e1921aa](https://github.com/facebook/react/commit/64e1921aa )**: Fix Flow type that event target can be null (#13124 ) //<Sebastian Markbåge>//
- **[6d6de6011](https://github.com/facebook/react/commit/6d6de6011 )**: Add PROFILE bundles for www+DOM and fbsource+RN/RF (#13112 ) //<Brian Vaughn>//
- **[71a60ddb1](https://github.com/facebook/react/commit/71a60ddb1 )**: Add link to another article about React renderers //<Dan Abramov>//
- **[6a530e3ba](https://github.com/facebook/react/commit/6a530e3ba )**: adding check for mousemove (#13090 ) //<Jason Williams>//
- **[c35a1e748](https://github.com/facebook/react/commit/c35a1e748 )**: Fix crash during server render in react 16.4.1. (#13088 ) //<Dustin Masters>//
- **[076bbeace](https://github.com/facebook/react/commit/076bbeace )**: Fall back to 'setTimeout' when 'requestAnimationFrame' is not called (#13091 ) //<Flarnie Marchan>//
- **[da5c87bdf](https://github.com/facebook/react/commit/da5c87bdf )**: Fixes children when using dangerouslySetInnerHtml in a selected <option> (#13078 ) //<Michael Ridgway>//
- **[a960d18bc](https://github.com/facebook/react/commit/a960d18bc )**: eliminate unnecessary do-while loop in renderRoot() (#13087 ) //<Nathan Quarles>//
- **[5b3d17a5f](https://github.com/facebook/react/commit/5b3d17a5f )**: setting a flag, so that the first movement will have the correct value (#13082 ) //<Jason Williams>//
- **[b0f60895f](https://github.com/facebook/react/commit/b0f60895f )**: Automatically Profile roots when DevTools is present (#13058 ) //<Brian Vaughn>//
- **[ae8c6dd53](https://github.com/facebook/react/commit/ae8c6dd53 )**: remove some redundant lines (#13077 ) //<Nathan Quarles>//
- **[0fcf92d06](https://github.com/facebook/react/commit/0fcf92d06 )**: Add a link to custom renderer intro article //<Dan Abramov>//
- **[97af3e1f3](https://github.com/facebook/react/commit/97af3e1f3 )**: Do not add additional work to a batch that is already rendering (#13072 ) //<Andrew Clark>//
- **[4fe6eec15](https://github.com/facebook/react/commit/4fe6eec15 )**: Always batch updates of like priority within the same event (#13071 ) //<Andrew Clark>//
- **[8e87c139b](https://github.com/facebook/react/commit/8e87c139b )**: Remove transitive dependency on fbjs (#13075 ) //<Dan Abramov>//
- **[aeda7b745](https://github.com/facebook/react/commit/aeda7b745 )**: Remove fbjs dependency (#13069 ) //<Dan Abramov>//
- **[b1b3acbd6](https://github.com/facebook/react/commit/b1b3acbd6 )**: Inline fbjs/lib/emptyObject (#13055 ) //<Dan Abramov>//
Release Notes:
[GENERAL] [FEATURE] [React] - React sync for revisions ae14317...ca0941f
Reviewed By: bvaughn
Differential Revision: D8979192
fbshipit-source-id: 7a14d3b0a253a81d162d7f8c899e99cf6ac4fee4
2018-07-24 14:47:52 -07:00
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