Tom Underhill
232c1b9c5d
Fix RCTBaseTextInputView.m to build for tvOS under.
...
Fix to React.xcodeproj/project.pbxproj to include JSCExecutorFactory.mm in tvOS target.
Fix to package.json/yarn.lock to update detox to 12.2.0 so that it works in macOS Mojave and later.
Fix to scripts/react-native-xcode.sh so that ip.txt is not written for mac RNTester builds.
2019-06-10 16:27:50 -07:00
Andrew Coates
086d39fa9b
supress final flow issues
2019-06-04 12:53:44 -07:00
REDMOND\acoates
2e64c10da8
merge master
2019-05-28 13:08:40 -07:00
BarinderGrewal
ae2677e22e
This change updates react dependencies ( #67 )
...
* This change updates react dependencies
* Updating yarn.lock file
2019-05-17 07:02:08 -07:00
REDMOND\acoates
e81755d397
Merge react-native-implementation.*
2019-05-01 14:29:51 -07:00
Christopher Hogan
fedfabcecb
facebook 59.0 merge- with conflicts
2019-04-22 10:37:26 -07:00
REDMOND\acoates
7f3192cf9d
put RN58 back
2019-03-28 13:44:57 -07:00
REDMOND\acoates
b988169e72
Squashed commit of the following:
...
commit 4c43e301d97042e9eec4401dd81b8ebce053f691
Author: REDMOND\acoates <acoates@microsoft.com>
Date: Tue Mar 26 10:49:02 2019 -0700
Squashed commit of the following:
commit 862f3fb5d9e3161feab6e5e0e61c7b28e8ac1ef9
Author: REDMOND\acoates <acoates@microsoft.com>
Date: Tue Mar 26 10:46:37 2019 -0700
Revert "Merge 1b12e2caaa
into 9f1e90947421ad0ea2de1b534117c500dc8c9744"
This reverts commit d036bc4c57
, reversing
changes made to 9f1e909474
.
commit 41477c33c1bcc78f40da00ac7e86ab4dd3f7d062
Author: REDMOND\acoates <acoates@microsoft.com>
Date: Tue Mar 26 10:46:23 2019 -0700
Revert "Applying package update to 0.58.6-microsoft.1"
This reverts commit 852df1af0e
.
commit 4993963205e737849e4880309ef86aeac9f2a765
Author: REDMOND\acoates <acoates@microsoft.com>
Date: Tue Mar 26 10:46:16 2019 -0700
Revert "Applying package update to 0.58.6-microsoft.2"
This reverts commit 774513fec9
.
commit 41f8beadb2030593208ffc6ff29339991dde3798
Author: REDMOND\acoates <acoates@microsoft.com>
Date: Tue Mar 26 10:46:07 2019 -0700
Revert "Merge 4f3c37886c
into 774513fec948ee5595543e23ab4e7b9cccbdcbf1"
This reverts commit a840490784
, reversing
changes made to 774513fec9
.
commit 143e70ec6228e110cd94a5ae9c56309040c1f1eb
Author: REDMOND\acoates <acoates@microsoft.com>
Date: Tue Mar 26 10:45:57 2019 -0700
Revert "Applying package update to 0.58.6-microsoft.3"
This reverts commit 54dfee820d
.
commit 138191b0d6bf9e4370fb5126dc2095a3fb122a57
Author: REDMOND\acoates <acoates@microsoft.com>
Date: Tue Mar 26 10:45:16 2019 -0700
Revert "Merge d8be239fac
into 54dfee820d107cb897c5aca14131cf7fbde616d7"
This reverts commit faae1e56f8
, reversing
changes made to 54dfee820d
.
commit 40a77c8365c5273df0bba4fc2b0439db17d247d0
Author: REDMOND\acoates <acoates@microsoft.com>
Date: Tue Mar 26 10:34:44 2019 -0700
Revert "Applying package update to 0.58.6-microsoft.4"
This reverts commit 043f6330e7
.
commit adf5c26c8f7132a6643ecfea116226632173447b
Author: REDMOND\acoates <acoates@microsoft.com>
Date: Tue Mar 26 10:34:42 2019 -0700
Revert "Applying package update to 0.58.6-microsoft.5"
This reverts commit 4004f889c2
.
commit e68d497a58e32d26f0d04130895954d7b654c2bf
Author: REDMOND\acoates <acoates@microsoft.com>
Date: Tue Mar 26 10:34:39 2019 -0700
Revert "Fix the builds... (#20 )"
This reverts commit 745eeda26f
.
commit 4cdef1eef22edbcdc9ca86e31846a175b944999e
Author: REDMOND\acoates <acoates@microsoft.com>
Date: Tue Mar 26 10:34:31 2019 -0700
Revert "Applying package update to 0.58.6-microsoft.6"
This reverts commit 34a3077388
.
2019-03-26 10:54:53 -07:00
acoates-ms
745eeda26f
Fix the builds... ( #20 )
...
Gets the circleci tests working again.
2019-03-25 15:17:54 -07:00
Mike Grabowski
370947d2b2
Bump Jest version
2019-03-11 20:17:33 +01:00
Héctor Ramos
52cdb7cf26
React sync for revisions f24a0da...8e25ed2
...
Summary:
This sync includes the following changes:
- **[8e25ed20b](https://github.com/facebook/react/commit/8e25ed20b )**: Unify noop and test renderer assertion APIs (#14952 ) //<Andrew Clark>//
- **[870214f37](https://github.com/facebook/react/commit/870214f37 )**: Deprecate ref.setNativeProps in favor of ReactNative.setNativeProps (#14912 ) //<Eli White>//
- **[3989c0950](https://github.com/facebook/react/commit/3989c0950 )**: eslint-plugin-react-hooks@1.3.0 //<Dan Abramov>//
- **[1bbfbc98d](https://github.com/facebook/react/commit/1bbfbc98d )**: [ESLint] Add more cases to exhaustive-deps rule (#14930 ) //<Dan Abramov>//
- **[412f88296](https://github.com/facebook/react/commit/412f88296 )**: fix(eslint-plugin-react-hooks): node engine updated to version 7 because of object.entries(#14951 ) //<Farhad Yasir>//
- **[ba708fa79](https://github.com/facebook/react/commit/ba708fa79 )**: Remove ReactNoop.flushDeferredPri and flushUnitsOfWork (#14934 ) //<Andrew Clark>//
- **[920b0bbb3](https://github.com/facebook/react/commit/920b0bbb3 )**: [scheduler] Pass didTimeout argument to callbacks (#14931 ) //<Andrew Clark>//
- **[f99fca3cb](https://github.com/facebook/react/commit/f99fca3cb )**: Fix sample ESLint configuration (#14926 ) //<Matt Thomson>//
- **[22bb94764](https://github.com/facebook/react/commit/22bb94764 )**: Release eslint-plugin-react-hooks@1.2.0 //<Dan Abramov>//
- **[a77bbf1a1](https://github.com/facebook/react/commit/a77bbf1a1 )**: [ESLint] Warn against assignments from inside Hooks (#14916 ) //<Dan Abramov>//
- **[219ce8a9c](https://github.com/facebook/react/commit/219ce8a9c )**: Fix tracing fixture (#14917 ) //<Dan Abramov>//
- **[8c1966590](https://github.com/facebook/react/commit/8c1966590 )**: Release 16.8.3 //<Dan Abramov>//
- **[7de4d2391](https://github.com/facebook/react/commit/7de4d2391 )**: Fix UMD builds by re-exporting the scheduler priorities (#14914 ) //<Dan Abramov>//
- **[d0318fb3f](https://github.com/facebook/react/commit/d0318fb3f )**: Updating copyright headers, dropping the year (#14893 ) //<Nathan Hunzaker>//
- **[f978d5fde](https://github.com/facebook/react/commit/f978d5fde )**: Fix warning message for new setNativeProps method. on -> with (#14909 ) //<Eli White>//
- **[b0f45c0fc](https://github.com/facebook/react/commit/b0f45c0fc )**: Adding ReactNative.setNativeProps that takes a ref (#14907 ) //<Eli White>//
- **[4f4aa69f1](https://github.com/facebook/react/commit/4f4aa69f1 )**: Adding setNativeProps tests for NativeMethodsMixin (#14901 ) //<Eli White>//
- **[b96b61dc4](https://github.com/facebook/react/commit/b96b61dc4 )**: Use the canonical nativeTag for Fabric's setNativeProps (#14900 ) //<Eli White>//
- **[dab2fdbbb](https://github.com/facebook/react/commit/dab2fdbbb )**: Add eslint-plugin-react-hooks/exhaustive-deps rule to check stale closure dependencies (#14636 ) //<Dan Abramov>//
- **[1493abd7e](https://github.com/facebook/react/commit/1493abd7e )**: Deleted empty App.css (#14149 ) //<Josh R>//
- **[13645d224](https://github.com/facebook/react/commit/13645d224 )**: Deal with fallback content in Partial Hydration (#14884 ) //<Sebastian Markbåge>//
- **[c506ded3b](https://github.com/facebook/react/commit/c506ded3b )**: Don't discard render phase state updates with the eager reducer optimization (#14852 ) //<Dan Abramov>//
- **[0e67969cb](https://github.com/facebook/react/commit/0e67969cb )**: Prompt to include UMD build artifact links in GitHub release (#14864 ) //<Brian Vaughn>//
- **[fad0842fd](https://github.com/facebook/react/commit/fad0842fd )**: Release scripts documentation (#14863 ) //<Brian Vaughn>//
- **[ab7a67b1d](https://github.com/facebook/react/commit/ab7a67b1d )**: Fix react-dom/server context leaks when render stream destroyed early (#14706 ) //<overlookmotel>//
- **[3e5556043](https://github.com/facebook/react/commit/3e5556043 )**: Release 16.8.2 //<Dan Abramov>//
- **[dfabb77a9](https://github.com/facebook/react/commit/dfabb77a9 )**: Include another change in 16.8.2 //<Dan Abramov>//
- **[c555c008b](https://github.com/facebook/react/commit/c555c008b )**: Include component stack in 'act(...)' warning (#14855 ) //<Sunil Pai>//
- **[ff188d666](https://github.com/facebook/react/commit/ff188d666 )**: Add React 16.8.2 changelog (#14851 ) //<Dan Abramov>//
- **[c4d8ef643](https://github.com/facebook/react/commit/c4d8ef643 )**: Fix typo in code comment (#14836 ) //<Deniz Susman>//
- **[08e955435](https://github.com/facebook/react/commit/08e955435 )**: Statically enable suspense/partial hydration flag in www (#14842 ) //<Sebastian Markbåge>//
- **[0e4135e8c](https://github.com/facebook/react/commit/0e4135e8c )**: Revert "[ShallowRenderer] Queue/rerender on dispatched action after render component with hooks (#14802 )" (#14839 ) //<Dan Abramov>//
- **[6d4038f0a](https://github.com/facebook/react/commit/6d4038f0a )**: [ShallowRenderer] Queue/rerender on dispatched action after render component with hooks (#14802 ) //<Rodrigo Ribeiro>//
- **[fa6205d52](https://github.com/facebook/react/commit/fa6205d52 )**: Special case crossOrigin for SVG image elements (#14832 ) //<Brandon Dail>//
- **[c6bee765b](https://github.com/facebook/react/commit/c6bee765b )**: Remove false positive warning and add TODOs about `current` being non-null (#14821 ) //<DanAbramov>//
- **[3ae94e188](https://github.com/facebook/react/commit/3ae94e188 )**: Fix ignored sync work in passive effects (#14799 ) //<Dan Abramov>//
- **[f3a14951a](https://github.com/facebook/react/commit/f3a14951a )**: Partial Hydration (#14717 ) //<Sebastian Markbåge>//
Changelog:
[GENERAL] [Changed] React sync for revisions f24a0da...22bb947
Reviewed By: gaearon
Differential Revision: D14160361
fbshipit-source-id: fffdc922f3ee5dfeeee656a8f213a6d3c03e8481
2019-02-27 21:24:27 +01:00
Mike Grabowski
a252aee2ea
Bump CLI dependency
2019-02-13 16:35:02 +01:00
Mike Grabowski
06bc4b5b7c
Explicitly set path to React Native for development
2019-02-13 15:23:30 +01:00
Héctor Ramos
2af13b4477
React sync for revisions aa94237...f24a0da
...
Summary:
This sync includes the following changes:
- **[f24a0da6e](https://github.com/facebook/react/commit/f24a0da6e )**: Fix useImperativeHandle to have no deps by default (#14801 ) //<Dan Abramov>//
- **[1fecba923](https://github.com/facebook/react/commit/1fecba923 )**: Fix crash unmounting an empty Portal (#14820 ) //<Dan Abramov>//
- **[c11015ff4](https://github.com/facebook/react/commit/c11015ff4 )**: fix spelling mistakes (#14805 ) //<zhuoli99>//
- **[3e295edd5](https://github.com/facebook/react/commit/3e295edd5 )**: Typo fix in comment (#14787 ) //<Deniz Susman>//
- **[1d48b4a68](https://github.com/facebook/react/commit/1d48b4a68 )**: Fix hydration with createRoot warning (#14808 ) //<Sebastian Markbåge>//
Release Notes:
[GENERAL] [Changed] - React sync for revisions aa94237...f24a0da
Reviewed By: cpojer
Differential Revision: D14030552
fbshipit-source-id: f8df9d8e532b2afef59dbbc10715bd52fd22b355
2019-02-11 15:26:44 -08:00
Christoph Nakazawa
7ecf55fc9d
Enforce rules-of-hooks via eslint
...
Summary:
allow-large-files
Enforce rules-of-hooks in React Native via the eslint-plugin-react-hooks plugin. See https://reactjs.org/docs/hooks-rules.html
Reviewed By: rickhanlonii
Differential Revision: D13998695
fbshipit-source-id: 48f1cde18c7112ce91d5087461875bcd0b50bf4f
2019-02-08 07:08:10 -08:00
Christoph Nakazawa
ccefc700d0
React sync for revisions 6bf5e85...aa94237 ( #23320 )
...
Summary:
allow-large-files
This sync includes the following changes:
- **[45fc46bfa](https://github.com/facebook/react/commit/45fc46bfa )**: 16.8.1 packages //<Brian Vaughn>//
- **[f2e2637c8](https://github.com/facebook/react/commit/f2e2637c8 )**: Backwards compat fix for ReactCurrentDispatcher on older react versions (#14770 ) //<Brian Vaughn>//
- **[1107b9673](https://github.com/facebook/react/commit/1107b9673 )**: [TestUtils.act] warn when using TestUtils.act in node (#14768 ) //<Sunil Pai>//
- **[0975ea327](https://github.com/facebook/react/commit/0975ea327 )**: eslint-plugin-react-hooks v1.0.0 //<Brian Vaughn>//
- **[bc9818f24](https://github.com/facebook/react/commit/bc9818f24 )**: Scheduler.unstable_next (#14756 ) //<Andrew Clark>//
- **[ce6ecd3fb](https://github.com/facebook/react/commit/ce6ecd3fb )**: Add 16.8.0 changelog and update some READMEs (#14692 ) //<Dan Abramov>//
- **[008a2ab9c](https://github.com/facebook/react/commit/008a2ab9c )**: 16.8.0 //<Brian Vaughn>//
- **[d1326f466](https://github.com/facebook/react/commit/d1326f466 )**: [TestUtils.act] fix return result checking (#14758 ) //<Sunil Pai>//
- **[267ed9814](https://github.com/facebook/react/commit/267ed9814 )**: expose `TestUtils.act()` for batching actions in tests (#14744 ) //<Sunil Pai>//
- **[fb3f7bfde](https://github.com/facebook/react/commit/fb3f7bfde )**: Avoid importing Scheduler directly (#14757 ) //<Andrew Clark>//
- **[e602b5291](https://github.com/facebook/react/commit/e602b5291 )**: Use SameValue instead of === to check for dispatchAction equivalence (#14752 ) //<Jessica Franco>//
- **[e489c3f9c](https://github.com/facebook/react/commit/e489c3f9c )**: Update the version with Hooks proposal in README (#14751 ) //<SToneX>//
- **[c21c41ecf](https://github.com/facebook/react/commit/c21c41ecf )**: Tweak invalid Hook warning and error (#14747 ) //<Dan Abramov>//
- **[fec00a869](https://github.com/facebook/react/commit/fec00a869 )**: Typo in comment (#14739 ) //<Deniz Susman>//
- **[66eb29374](https://github.com/facebook/react/commit/66eb29374 )**: Restrict effect return type to a function or nothing (#14119 ) //<Andrew Clark>//
- **[51c07912a](https://github.com/facebook/react/commit/51c07912a )**: Warn when second argument is passed to useCallback (#14729 ) //<Dan Abramov>//
- **[70d407583](https://github.com/facebook/react/commit/70d407583 )**: Move Hook mismatch warning to first mismatch site (#14720 ) //<Andrew Clark>//
- **[ba6477aa3](https://github.com/facebook/react/commit/ba6477aa3 )**: Improve Reducer Hook's lazy init API (#14723 ) //<Andrew Clark>//
- **[cb1ff430e](https://github.com/facebook/react/commit/cb1ff430e )**: Phased dispatcher (#14701 ) //<Andrew Clark>//
- **[9d483dcfd](https://github.com/facebook/react/commit/9d483dcfd )**: Spelling abitrarily -> arbitrarily (#14710 ) //<Peter Donald>//
- **[e19c9e106](https://github.com/facebook/react/commit/e19c9e106 )**: Fix issue with multiple code branches in hooks linter (#14661 ) //<Yurick>//
- **[f11a9c1cb](https://github.com/facebook/react/commit/f11a9c1cb )**: State update bug in concurrent mode (#14698 ) //<Brian Vaughn>//
- **[e679a4b6e](https://github.com/facebook/react/commit/e679a4b6e )**: Fix typo in code comment (#14696 ) //<Greg Hurrell>//
- **[8bcc88f2e](https://github.com/facebook/react/commit/8bcc88f2e )**: Make all readContext() and Hook-in-a-Hook checks DEV-only (#14677 ) //<Dan Abramov>//
- **[6cb26774e](https://github.com/facebook/react/commit/6cb26774e )**: Enable hooks! (#14679 ) //<Brian Vaughn>//
- **[73962c366](https://github.com/facebook/react/commit/73962c366 )**: Revert "Revert "Double-render function components with Hooks in DEV in StrictMode" (#14652 )" (#14654 ) //<Dan Abramov>//
- **[994439228](https://github.com/facebook/react/commit/994439228 )**: Put DEV-only code into DEV blocks (#14673 ) //<Dan Abramov>//
- **[f0befae65](https://github.com/facebook/react/commit/f0befae65 )**: Tweak context invariant message (#14671 ) //<Dan Abramov>//
- **[a129259ad](https://github.com/facebook/react/commit/a129259ad )**: Disallow reading context during useMemo etc (#14653 ) //<Dan Abramov>//
- **[c068d31cc](https://github.com/facebook/react/commit/c068d31cc )**: Add unit tests for concurrent mode event dispatching (#14415 ) //<Sebastian Markbåge>//
- **[38247cba3](https://github.com/facebook/react/commit/38247cba3 )**: --save is no longer needed (#14302 ) //<SamCortopassi>//
- **[3f0bcaf0d](https://github.com/facebook/react/commit/3f0bcaf0d )**: Importing React for the first example. (#14346 ) //<Ramón Chancay Ortega>//
- **[ecd919a2f](https://github.com/facebook/react/commit/ecd919a2f )**: RFC: warn when returning different hooks on subsequent renders (#14585 ) //<Sunil Pai>//
- **[3fbebb2a0](https://github.com/facebook/react/commit/3fbebb2a0 )**: Revert "Double-render function components with Hooks in DEV in StrictMode" (#14652 ) //<Dan Abramov>//
- **[5fce6488c](https://github.com/facebook/react/commit/5fce6488c )**: Revert "Disallow reading context during useMemo etc" (#14651 ) //<Dan Abramov>//
- **[fe2ecd276](https://github.com/facebook/react/commit/fe2ecd276 )**: Add test coverage for readContext() on the server (#14649 ) //<Dan Abramov>//
- **[8f45a7fdc](https://github.com/facebook/react/commit/8f45a7fdc )**: Warn about incorrect use of useImperativeHandle() (#14647 ) //<Dan Abramov>//
- **[1fcbd2243](https://github.com/facebook/react/commit/1fcbd2243 )**: Disallow reading context during useMemo etc (#14648 ) //<Dan Abramov>//
- **[2a084f51a](https://github.com/facebook/react/commit/2a084f51a )**: Warn about refs on lazy function components (#14645 ) //<Dan Abramov>//
- **[b5a3df6e8](https://github.com/facebook/react/commit/b5a3df6e8 )**: Fix typo (#14560 ) //<Linchengyi>//
- **[9c146e675](https://github.com/facebook/react/commit/9c146e675 )**: fix typo (#14316 ) //<liunian>//
- **[baa6d40fc](https://github.com/facebook/react/commit/baa6d40fc )**: Mention forwardRef() in <Fn ref={...} /> errors and warnings (#14644 ) //<Dan Abramov>//
- **[a1414e894](https://github.com/facebook/react/commit/a1414e894 )**: Double-render function components with Hooks in DEV in StrictMode (#14643 ) //<Dan Abramov>//
- **[10a7a5b5c](https://github.com/facebook/react/commit/10a7a5b5c )**: Fix synchronous thenable rejection (#14633 ) //<Dan Abramov>//
- **[a2fa6eb98](https://github.com/facebook/react/commit/a2fa6eb98 )**: Move lazy._result assignment (#14632 ) //<Dan Abramov>//
- **[9120f6c2d](https://github.com/facebook/react/commit/9120f6c2d )**: Support sync thenables for lazy() (#14626 ) //<Dan Abramov>//
- **[b66e6e41e](https://github.com/facebook/react/commit/b66e6e41e )**: Add directory details to the package.json of all packages (#14628 ) //<Grey Baker>//
- **[177fb7635](https://github.com/facebook/react/commit/177fb7635 )**: Warn when second callback is passed to setState/dispatch in Hooks (#14625 ) //<Dan Abramov>//
- **[d17d0b99c](https://github.com/facebook/react/commit/d17d0b99c )**: Use public context.report interface in eslint rules (#14623 ) //<Sebastian Silbermann>//
- **[4f332885a](https://github.com/facebook/react/commit/4f332885a )**: Fix shallow renderer set instance state after gDSFP before calling sCU (#14613 ) //<Yi-Shan, Chen>//
- **[e1cd83e49](https://github.com/facebook/react/commit/e1cd83e49 )**: Throw an error when using hooks inside useMemo/useState/useReducer, or .memo's comparator (#14608 ) //<Sunil Pai>//
- **[be457ca68](https://github.com/facebook/react/commit/be457ca68 )**: Small tweaks to SSR to match #14594 (#14618 ) //<Dan Abramov>//
- **[17d70df91](https://github.com/facebook/react/commit/17d70df91 )**: Warn when mixing createRoot() and old APIs (#14615 ) //<Dan Abramov>//
- **[4feab7fc9](https://github.com/facebook/react/commit/4feab7fc9 )**: Add hooks support to ReactShallowRenderer (#14567 ) //<Dominic Gannaway>//
- **[1454a8be0](https://github.com/facebook/react/commit/1454a8be0 )**: Don't bother comparing constructor when deps are not provided (#14594 ) //<Andrew Clark>//
- **[71b64d521](https://github.com/facebook/react/commit/71b64d521 )**: Warn if number of hooks increases (#14591 ) //<Andrew Clark>//
- **[790c8ef04](https://github.com/facebook/react/commit/790c8ef04 )**: Allow useReducer to bail out of rendering by returning previous state (#14569 ) //<Andrew Clark>//
- **[7ab8a8e97](https://github.com/facebook/react/commit/7ab8a8e97 )**: Added Flow type to keep hooks dispatchers in-sync (#14599 ) //<Brian Vaughn>//
- **[4392e3821](https://github.com/facebook/react/commit/4392e3821 )**: useDebugValue should throw if used in a class component (#14601 ) //<Brian Vaughn>//
- **[153a0b598](https://github.com/facebook/react/commit/153a0b598 )**: Add noop useDebugValue hook to partial/server renderer (#14597 ) //<Brian Vaughn>//
- **[7ad9806d1](https://github.com/facebook/react/commit/7ad9806d1 )**: Tweak to avoid property read (#14593 ) //<Brandon Dail>//
- **[0fc154751](https://github.com/facebook/react/commit/0fc154751 )**: Avoid new Set([iterable]) for thenables (#14592 ) //<Brandon Dail>//
- **[edb1f5956](https://github.com/facebook/react/commit/edb1f5956 )**: Support configurable labels for custom hooks (#14559 ) //<Brian Vaughn>//
- **[3e15b1c69](https://github.com/facebook/react/commit/3e15b1c69 )**: make a fork for ReactCurrentDispatcher (#14588 ) //<Sunil Pai>//
- **[0005d1e3f](https://github.com/facebook/react/commit/0005d1e3f )**: Fix typo (#14576 ) //<Carl Mungazi>//
- **[f290138d3](https://github.com/facebook/react/commit/f290138d3 )**: react-debug-tools accepts currentDispatcher ref as param (#14556 ) //<Brian Vaughn>//
- **[b4ad8e947](https://github.com/facebook/react/commit/b4ad8e947 )**: rename useImperativeMethods -> useImperativeHandle (#14565 ) //<Sunil Pai>//
- **[ab03e3d65](https://github.com/facebook/react/commit/ab03e3d65 )**: Inject ReactCurrentDispatcher ref to DevTools (#14550 ) //<Brian Vaughn>//
- **[19ef0ec11](https://github.com/facebook/react/commit/19ef0ec11 )**: Separate current owner and dispatcher (#14548 ) //<Brian Vaughn>//
- **[a9b035b0c](https://github.com/facebook/react/commit/a9b035b0c )**: Separate Object.is polyfill (#14334 ) //<Maksim Markelov>//
- **[547e059f0](https://github.com/facebook/react/commit/547e059f0 )**: Simplify wording of key warning (#14503 ) //<Sophie Alpert>//
- **[3494ee57e](https://github.com/facebook/react/commit/3494ee57e )**: Update ReactUpdateQueue.js (#14521 ) //<Carl Mungazi>//
- **[659c13963](https://github.com/facebook/react/commit/659c13963 )**: Update ReactFiberScheduler.js (#14477 ) //<Carl Mungazi>//
- **[c695b2384](https://github.com/facebook/react/commit/c695b2384 )**: React v16.7.0 //<Andrew Clark>//
- **[1c5aa2f23](https://github.com/facebook/react/commit/1c5aa2f23 )**: Move SchedulerFeatureFlags fork to src directory to fix lint //<Andrew Clark>//
- **[653bc582f](https://github.com/facebook/react/commit/653bc582f )**: Create separate SchedulerFeatureFlags instead of using ReactFeatureFlags (#14455 ) //<Andrew Clark>//
- **[8bfef0da5](https://github.com/facebook/react/commit/8bfef0da5 )**: Make scheduler debugging feature flag static //<Andrew Clark>//
- **[4a1072194](https://github.com/facebook/react/commit/4a1072194 )**: Memoize promise listeners to prevent exponential growth (#14429 ) //<Andrew Clark>//
- **[535804f5c](https://github.com/facebook/react/commit/535804f5c )**: Removed Fabric-specific feature flag files and updated Rollup to use the (non-Fabric) React Native flag files. (#14437 ) //<Brian Vaughn>//
- **[2743fb7b2](https://github.com/facebook/react/commit/2743fb7b2 )**: Enable hooks by default for FB React Native renderer (#14435 ) //<Brian Vaughn>//
- **[7325ebe4d](https://github.com/facebook/react/commit/7325ebe4d )**: Inject overrideProps() fn to DevTools (#14427 ) //<Brian Vaughn>//
- **[a22880e5e](https://github.com/facebook/react/commit/a22880e5e )**: Add support for Suspense & lazy() to the react-is package (#14423 ) //<Pleun Vanderbauwhede>//
- **[947bddd5c](https://github.com/facebook/react/commit/947bddd5c )**: Remove redundant argument of getPlugins function (#14419 ) //<Heaven>//
- **[8df4d59be](https://github.com/facebook/react/commit/8df4d59be )**: Implement pauseExecution, continueExecution, dumpQueue for Scheduler (#14053 ) //<Kevin Chavez>//
- **[5bb4ad737](https://github.com/facebook/react/commit/5bb4ad737 )**: Added ErrorBoundary tests for useEffect and useLayoutEffect (#14401 ) //<Brian Vaughn>//
- **[98eb5ae53](https://github.com/facebook/react/commit/98eb5ae53 )**: TestRenderer toJSON should not expose the Array wrapper Suspense uses for hidden trees (#14392 ) //<Brian Vaughn>//
- **[39489e767](https://github.com/facebook/react/commit/39489e767 )**: Enable hooks in fabric (#14301 ) //<Spencer Ahrens>//
- **[1dc108e58](https://github.com/facebook/react/commit/1dc108e58 )**: Tweaked wording for v8 "performance cliff" issue //<Brian Vaughn>//
Release Notes:
[GENERAL] [Changed] - React sync for revisions 6bf5e85...aa94237 (React 16.8.1)
Pull Request resolved: https://github.com/facebook/react-native/pull/23320
Reviewed By: rickhanlonii
Differential Revision: D13976467
fbshipit-source-id: 4ce198e86a54658e1c35aa36bffe4a7dc2956a2e
2019-02-08 07:08:10 -08:00
Paco Estevez Garcia
5ee738659b
Update xplat/js to 0.92.0
...
Summary: This diff updates `xplat/js` to Flow 0.92.0
Reviewed By: panagosg7
Differential Revision: D13917049
fbshipit-source-id: 69613182badecd4c23aef25b79f7380d5604a13b
2019-02-01 09:35:42 -08:00
Ram N
02697291ff
Remove TabbarIOS from OSS
...
Reviewed By: fkgozali
Differential Revision: D13858496
fbshipit-source-id: ba9dd9912f4abcbeb3326f412ec91be9bee9cfd3
2019-01-30 23:41:40 -08:00
Mike Grabowski
1add9b4f08
Update few files after syncing changes:
2019-01-28 15:08:34 +01:00
Mike Grabowski
9d19ab0c0c
Bring missing changes to 0.58-stable branch
...
This reverts commit b864e7e63e
.
2019-01-28 14:56:57 +01:00
Mike Grabowski
1af390be19
Update references to the CLI ( #23052 )
...
Summary:
This updates React Native to use latest CLI. We also create Metro configuration, because CLI looks for React Native in "node_modules" by default. Since we are running React Native from source, it will fail to find required files.
To avoid hacky logic to detect if we are running from source backed into the CLI, I decided to leverage the Metro configuration instead.
Pull Request resolved: https://github.com/facebook/react-native/pull/23052
Reviewed By: rickhanlonii
Differential Revision: D13719938
Pulled By: cpojer
fbshipit-source-id: 1f40a40b3cdbb07ccd42daf75feb457556d3e40f
2019-01-21 09:13:08 -08:00
Jordan Brown
be51dbc214
@allow-large-files [flow] Bump xplat/js to 0.91 and remove unused suppressions
...
Summary: Upgrades flow in xplat/js to 0.91. This diff also adds and removes suppressions.
Reviewed By: samwgoldman
Differential Revision: D13720697
fbshipit-source-id: 1bf8830ce286db92277476a2d2404cf0c0dddca2
2019-01-18 14:47:53 -08:00
Brian Vaughn
b0db2d71b9
Updated React DevTools to ^3.6.0
...
Summary:
Updated DevTools to latest release to add "hooks" support.
`js1 upgrade react-devtools -v ^3.6.0`
Reviewed By: threepointone
Differential Revision: D13663129
fbshipit-source-id: 58942cc8ac0ecc7be55f8ff32937ad8bda531240
2019-01-17 09:53:51 -08:00
Sam Goldman
2c7895706d
@allow-large-files Deploy Flow v0.90 to xplat/js
...
Reviewed By: dsainati1
Differential Revision: D13708161
fbshipit-source-id: b83dab505f2739bf4bc5077936e71ebd1800eaf4
2019-01-16 21:55:02 -08:00
Rafael Oleza
f88ce82627
Upgrade metro packages on React Native
...
Summary: bumpit
Reviewed By: jeanlauliac
Differential Revision: D13504233
fbshipit-source-id: c399ec831b5d06be89f5132892905c08bc464d50
2018-12-21 04:19:57 -08:00
Eli White
a3c6e1da10
Open source the Codegen!
...
Summary:
This is very much a work in progress. Moving it into the open source repo to be able to hook it up to generate some Fabric files.
Will continue to iterate on it in the open.
Reviewed By: hramos, mdvacca
Differential Revision: D13500969
fbshipit-source-id: 79082447dc52b5834f24eb72bc6e07200b324238
2018-12-20 11:58:11 -08:00
Ivan Filenko
d8f28ceef8
Bump ws package to 1.1.5 due to vulnerability issues ( #21769 )
...
Summary:
Update `ws` package from 1.1.0 to 1.1.5 due to vulnerability issues.
Here is `npm audit` report:
```
=== npm audit security report ===
┌──────────────────────────────────────────────────────────────────────────────┐
│ Manual Review │
│ Some vulnerabilities require your attention to resolve │
│ │
│ Visit https://go.npm.me/audit-guide for additional guidance │
└──────────────────────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ High │ Denial of Service │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ ws │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ >= 1.1.5 <2.0.0 || >=3.3.1 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ c635d8a886cde7688a0123f573cc5b1f0430780052ba848c8fa1dc8a4c3… │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ c635d8a886cde7688a0123f573cc5b1f0430780052ba848c8fa1dc8a4c3… │
│ │ > react-devtools-core > ws │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://nodesecurity.io/advisories/550 │
└───────────────┴──────────────────────────────────────────────────────────────┘
```
Pull Request resolved: https://github.com/facebook/react-native/pull/21769
Reviewed By: hramos
Differential Revision: D10379892
Pulled By: cpojer
fbshipit-source-id: 9d03f8231a90c5f55eb95ccac029aedd45a49a2d
2018-12-17 19:52:32 +01:00
glevi@fb.com
24f8d4d3db
Deploy v0.89
...
Reviewed By: jbrown215
Differential Revision: D13457087
fbshipit-source-id: 9f01371ae3515990c5595f1eb2361174050066b8
2018-12-14 13:57:50 -08:00
Rafael Oleza
f5cb4b68eb
Remove metro dependency from react native
...
Summary:
This diff removes the dependency of `metro` on `react-native` by using the newly created `metro-react-native-babel-transformer` package.
This package does not depend on any other internal metro logic and this will decouple RN from metro a bit more.
Reviewed By: cpojer
Differential Revision: D13434949
fbshipit-source-id: a02a3b327c71cef53111514b797f7d6bc9f9d71c
2018-12-14 08:15:09 -08:00
Blair Vanderhoof
4ed3344275
Update react-test-renderer to support hooks
...
Summary: The current version of react-test-renderer is throwing an error when we use hooks. Upgrading to 16.7.0-alpha.2 fixes it.
Reviewed By: sahrens
Differential Revision: D13104634
fbshipit-source-id: ac7f8d603293907c8653e247563a4d12413b10b9
2018-12-12 14:39:34 -08:00
Rafael Oleza
c9dc1c68a2
Create metro-react-native-babel-transformer package
...
Summary:
By having this package we can remove the dependency from `react-native` to `metro` and then unblock the releases of metro to npm.
We cannot use this package yet from `react-native` since it hasn't been published, what I'm gonna do here is the following:
1. Land this diff
2. Publish manually a version of `metro-react-native-babel-transformer@0.50.0` once this diff lands.
3. Update the RN repo to depend on `metro-react-native-babel-transformer` instead of `metro`.
Then we should be able to publish versions of metro :)
Differential Revision: D13432231
fbshipit-source-id: 522152e32162cc5fc40aea2fa4c8fd53c528e2e3
2018-12-12 09:42:15 -08:00
Nat Mote
aaa4a38fbc
Upgrade to Flow v0.88.0
...
Summary:
allow-large-files
https://our.intern.facebook.com/intern/wiki/Flow/Flow_Release_Process/#update-xplat-js
Reviewed By: samwgoldman
Differential Revision: D13418170
fbshipit-source-id: 91ab0d2788c1061b8c81a39f8a017eedea48abe2
2018-12-11 20:01:00 -08:00
Mike Grabowski
c0bf7a128c
[0.58.0-rc.1] Bump version numbers
2018-12-06 09:39:36 +01:00
Tim Yung
e54d1e27ea
React sync for revisions 3ff2c7c...6bf5e85
...
Summary:
@public
This sync includes the following changes:
- **[6bf5e8598](https://github.com/facebook/react/commit/6bf5e8598 )**: Fix scheduler setTimeout() re-entrancy check (#14384 ) //<Brian Vaughn>//
- **[7a48c900b](https://github.com/facebook/react/commit/7a48c900b )**: Prevent a v8 deopt when profiling (#14383 ) //<Brian Vaughn>//
- **[f00c2755b](https://github.com/facebook/react/commit/f00c2755b )**: Removed unnecessary externals from Jest bundles (#14372 ) //<Brian Vaughn>//
- **[52bea95cf](https://github.com/facebook/react/commit/52bea95cf )**: Fixed scheduler setTimeout fallback (#14358 ) //<Brian Vaughn>//
- **[1d25aa578](https://github.com/facebook/react/commit/1d25aa578 )**: [Fizz] New Server Rendering Infra (#14144 ) //<Sebastian Markbåge>//
- **[f1bf28160](https://github.com/facebook/react/commit/f1bf28160 )**: Fix bug in cloneHook (#14364 ) //<Imre Osswald>//
- **[16e120438](https://github.com/facebook/react/commit/16e120438 )**: [Fire] Add initial build infrastructure (#14359 ) //<Dan Abramov>//
- **[d14ba87b1](https://github.com/facebook/react/commit/d14ba87b1 )**: Validate propTypes for lazy() and memo() and warn about invalid patterns (#14298 ) //<Dan Abramov>//
- **[4f964f09c](https://github.com/facebook/react/commit/4f964f09c )**: Adding isMemo check to react-is package (#14313 ) //<Jinto Jose>//
- **[c2a2d8a53](https://github.com/facebook/react/commit/c2a2d8a53 )**: Remove useMutationEffect (#14336 ) //<Sophie Alpert>//
- **[48f1e5b3c](https://github.com/facebook/react/commit/48f1e5b3c )**: Add a null type test for memo (#14325 ) //<chun shang>//
- **[f93f3402f](https://github.com/facebook/react/commit/f93f3402f )**: Make useEffect(async) warning more verbose (#14327 ) //<Dan Abramov>//
- **[ee3ef3a07](https://github.com/facebook/react/commit/ee3ef3a07 )**: Fix regression: Errors not emitted in streams (#14314 ) //<Pelle Wessman>//
- **[33f6f5e53](https://github.com/facebook/react/commit/33f6f5e53 )**: Remove usage of `fbjs/lib/invariant` in ReactNativeViewConfigRegistry. (#14330 ) //<Christoph Nakazawa>//
- **[686f1060a](https://github.com/facebook/react/commit/686f1060a )**: Publish a local release (canary or stable) to NPM (#14260 ) //<Brian Vaughn>//
- **[7475120ce](https://github.com/facebook/react/commit/7475120ce )**: Prevent deopts from modifying exports object in stable builds (#14309 ) //<Dan Abramov>//
- **[0c7189d92](https://github.com/facebook/react/commit/0c7189d92 )**: Fix resolution of outer props with React.memo() (#14312 ) //<Dan Abramov>//
- **[14be29b2b](https://github.com/facebook/react/commit/14be29b2b )**: Add more test coverage for nested memo() (#14311 ) //<Dan Abramov>//
- **[dc0dd4bbf](https://github.com/facebook/react/commit/dc0dd4bbf )**: Use |0 to coerce to number (#14297 ) //<Dan Abramov>//
- **[dd8205cef](https://github.com/facebook/react/commit/dd8205cef )**: List ignored types instead of included types in the stack (#14308 ) //<Dan Abramov>//
- **[a9fdf8a32](https://github.com/facebook/react/commit/a9fdf8a32 )**: Warn about reassigning this.props (#14277 ) //<Dan Abramov>//
- **[327cf0ee3](https://github.com/facebook/react/commit/327cf0ee3 )**: Fix support for mixing react-dom/server@16.6 and react@<16.6 (#14291 ) //<Dan Abramov>//
- **[c954efa70](https://github.com/facebook/react/commit/c954efa70 )**: Remove `import * as` pattern from the codebase (#14282 ) //<Sebastian Markbåge>//
- **[ccb14e270](https://github.com/facebook/react/commit/ccb14e270 )**: Fix SSR useCallback in render phase (#14279 ) //<Dan Abramov>//
- **[0e9cb3f5d](https://github.com/facebook/react/commit/0e9cb3f5d )**: Clear fields on unmount of fiber to avoid memory leak (#14276 ) //<Dominic Gannaway>//
- **[592676503](https://github.com/facebook/react/commit/592676503 )**: Revert "Clear memoizedState on unmount of fiber to avoid memory leak (#14218 )" (#14275 ) //<Dominic Gannaway>//
- **[9b2fb24f9](https://github.com/facebook/react/commit/9b2fb24f9 )**: Clear memoizedState on unmount of fiber to avoid memory leak (#14218 ) //<Dominic Gannaway>//
- **[a22fabc2a](https://github.com/facebook/react/commit/a22fabc2a )**: Reduce scheduler serialization overhead (#14249 ) //<Jason Miller>//
- **[21d5f7d32](https://github.com/facebook/react/commit/21d5f7d32 )**: Wrap shorthand CSS property collision warning in feature flag (#14245 ) //<Andrew Clark>//
- **[8feeed10d](https://github.com/facebook/react/commit/8feeed10d )**: [scheduler] Remove window.postMessage fallback //<Andrew Clark>//
- **[5bce0ef10](https://github.com/facebook/react/commit/5bce0ef10 )**: [scheduler] Post to MessageChannel instead of window (#14234 ) //<Andrew Clark>//
- **[f55795c8e](https://github.com/facebook/react/commit/f55795c8e )**: Add regression test for #14188 (#14197 ) //<Dan Abramov>//
- **[b98adb648](https://github.com/facebook/react/commit/b98adb648 )**: Simplify CSS shorthand property warning (#14183 ) //<Sophie Alpert>//
- **[f8bfd5868](https://github.com/facebook/react/commit/f8bfd5868 )**: fix typo //<Sebastian Markbage>//
- **[961eb65b4](https://github.com/facebook/react/commit/961eb65b4 )**: Use unique thread ID for each partial render to access Context (#14182 ) //<Sebastian Markbåge>//
- **[1a6ab1e9b](https://github.com/facebook/react/commit/1a6ab1e9b )**: SimpleMemoComponent should warn if a ref is given (#14178 ) //<Sophie Alpert>//
- **[8ae867e6b](https://github.com/facebook/react/commit/8ae867e6b )**: Warn about conflicting style values during updates (#14181 ) //<Sophie Alpert>//
- **[d5e1bf07d](https://github.com/facebook/react/commit/d5e1bf07d )**: Renamed outdated schedule/tracing referecnes (#14177 ) //<Brian Vaughn>//
- **[2dd4ba11e](https://github.com/facebook/react/commit/2dd4ba11e )**: ESlint -> ESLint //<Andrew Clark>//
- **[9cc631a53](https://github.com/facebook/react/commit/9cc631a53 )**: Don't run danger on bad build (#14143 ) //<Sophie Alpert>//
- **[1034e26fe](https://github.com/facebook/react/commit/1034e26fe )**: Fix typos (#14124 ) //<Heaven>//
- **[5618da49d](https://github.com/facebook/react/commit/5618da49d )**: Fix comment typo (#14156 ) //<Bartosz Gordon>//
- **[9fb919945](https://github.com/facebook/react/commit/9fb919945 )**: Add global to ESLint plugin bundle config //<Andrew Clark>//
- **[c174f8592](https://github.com/facebook/react/commit/c174f8592 )**: Add fb build of ESLint plugin (#14165 ) //<Andrew Clark>//
- **[02e4848e3](https://github.com/facebook/react/commit/02e4848e3 )**: Improved suspense support in ReactDOMServer (#14161 ) //<Alex Taylor>//
- **[4b163fee1](https://github.com/facebook/react/commit/4b163fee1 )**: Remove errant return assignment (#14164 ) //<Andrew Clark>//
- **[e58ecda9a](https://github.com/facebook/react/commit/e58ecda9a )**: Suspense fuzz tester (#14147 ) //<Andrew Clark>//
- **[7fd1661f8](https://github.com/facebook/react/commit/7fd1661f8 )**: Don't warn if an unmounted component is pinged (#14158 ) //<Andrew Clark>//
- **[f9e9913f0](https://github.com/facebook/react/commit/f9e9913f0 )**: [Synchronous Suspense] Don't delete children of suspended component (#14157 ) //<Andrew Clark>//
- **[7c560131b](https://github.com/facebook/react/commit/7c560131b )**: Adding logger pri (#14155 ) //<Nathan Schloss>//
- **[3d8bda70e](https://github.com/facebook/react/commit/3d8bda70e )**: Refactor ESLint configuration to enable better IDE integration (#13914 ) //<Minh Nguyen>//
- **[051272f20](https://github.com/facebook/react/commit/051272f20 )**: Use Entry in `yarn build ...` Instead of Label (#14148 ) //<Sebastian Markbåge>//
Release Notes:
[GENERAL] [FEATURE] [React] - React sync for revisions 3ff2c7c...6bf5e85
Reviewed By: bvaughn
Differential Revision: D13288288
fbshipit-source-id: 89a4837a9198c53fc79306933f589ef25d8bb4b6
2018-12-04 15:38:21 +01:00
Ivan Filenko
96ce6f9538
Bump ws package to 1.1.5 due to vulnerability issues ( #21769 )
...
Summary:
Update `ws` package from 1.1.0 to 1.1.5 due to vulnerability issues.
Here is `npm audit` report:
```
=== npm audit security report ===
┌──────────────────────────────────────────────────────────────────────────────┐
│ Manual Review │
│ Some vulnerabilities require your attention to resolve │
│ │
│ Visit https://go.npm.me/audit-guide for additional guidance │
└──────────────────────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ High │ Denial of Service │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ ws │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ >= 1.1.5 <2.0.0 || >=3.3.1 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ c635d8a886cde7688a0123f573cc5b1f0430780052ba848c8fa1dc8a4c3… │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ c635d8a886cde7688a0123f573cc5b1f0430780052ba848c8fa1dc8a4c3… │
│ │ > react-devtools-core > ws │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://nodesecurity.io/advisories/550 │
└───────────────┴──────────────────────────────────────────────────────────────┘
```
Pull Request resolved: https://github.com/facebook/react-native/pull/21769
Reviewed By: hramos
Differential Revision: D10379892
Pulled By: cpojer
fbshipit-source-id: 9d03f8231a90c5f55eb95ccac029aedd45a49a2d
2018-12-03 22:21:56 -08:00
Tim Yung
073ad6a036
React sync for revisions 3ff2c7c...6bf5e85
...
Summary:
@public
This sync includes the following changes:
- **[6bf5e8598](https://github.com/facebook/react/commit/6bf5e8598 )**: Fix scheduler setTimeout() re-entrancy check (#14384 ) //<Brian Vaughn>//
- **[7a48c900b](https://github.com/facebook/react/commit/7a48c900b )**: Prevent a v8 deopt when profiling (#14383 ) //<Brian Vaughn>//
- **[f00c2755b](https://github.com/facebook/react/commit/f00c2755b )**: Removed unnecessary externals from Jest bundles (#14372 ) //<Brian Vaughn>//
- **[52bea95cf](https://github.com/facebook/react/commit/52bea95cf )**: Fixed scheduler setTimeout fallback (#14358 ) //<Brian Vaughn>//
- **[1d25aa578](https://github.com/facebook/react/commit/1d25aa578 )**: [Fizz] New Server Rendering Infra (#14144 ) //<Sebastian Markbåge>//
- **[f1bf28160](https://github.com/facebook/react/commit/f1bf28160 )**: Fix bug in cloneHook (#14364 ) //<Imre Osswald>//
- **[16e120438](https://github.com/facebook/react/commit/16e120438 )**: [Fire] Add initial build infrastructure (#14359 ) //<Dan Abramov>//
- **[d14ba87b1](https://github.com/facebook/react/commit/d14ba87b1 )**: Validate propTypes for lazy() and memo() and warn about invalid patterns (#14298 ) //<Dan Abramov>//
- **[4f964f09c](https://github.com/facebook/react/commit/4f964f09c )**: Adding isMemo check to react-is package (#14313 ) //<Jinto Jose>//
- **[c2a2d8a53](https://github.com/facebook/react/commit/c2a2d8a53 )**: Remove useMutationEffect (#14336 ) //<Sophie Alpert>//
- **[48f1e5b3c](https://github.com/facebook/react/commit/48f1e5b3c )**: Add a null type test for memo (#14325 ) //<chun shang>//
- **[f93f3402f](https://github.com/facebook/react/commit/f93f3402f )**: Make useEffect(async) warning more verbose (#14327 ) //<Dan Abramov>//
- **[ee3ef3a07](https://github.com/facebook/react/commit/ee3ef3a07 )**: Fix regression: Errors not emitted in streams (#14314 ) //<Pelle Wessman>//
- **[33f6f5e53](https://github.com/facebook/react/commit/33f6f5e53 )**: Remove usage of `fbjs/lib/invariant` in ReactNativeViewConfigRegistry. (#14330 ) //<Christoph Nakazawa>//
- **[686f1060a](https://github.com/facebook/react/commit/686f1060a )**: Publish a local release (canary or stable) to NPM (#14260 ) //<Brian Vaughn>//
- **[7475120ce](https://github.com/facebook/react/commit/7475120ce )**: Prevent deopts from modifying exports object in stable builds (#14309 ) //<Dan Abramov>//
- **[0c7189d92](https://github.com/facebook/react/commit/0c7189d92 )**: Fix resolution of outer props with React.memo() (#14312 ) //<Dan Abramov>//
- **[14be29b2b](https://github.com/facebook/react/commit/14be29b2b )**: Add more test coverage for nested memo() (#14311 ) //<Dan Abramov>//
- **[dc0dd4bbf](https://github.com/facebook/react/commit/dc0dd4bbf )**: Use |0 to coerce to number (#14297 ) //<Dan Abramov>//
- **[dd8205cef](https://github.com/facebook/react/commit/dd8205cef )**: List ignored types instead of included types in the stack (#14308 ) //<Dan Abramov>//
- **[a9fdf8a32](https://github.com/facebook/react/commit/a9fdf8a32 )**: Warn about reassigning this.props (#14277 ) //<Dan Abramov>//
- **[327cf0ee3](https://github.com/facebook/react/commit/327cf0ee3 )**: Fix support for mixing react-dom/server@16.6 and react@<16.6 (#14291 ) //<Dan Abramov>//
- **[c954efa70](https://github.com/facebook/react/commit/c954efa70 )**: Remove `import * as` pattern from the codebase (#14282 ) //<Sebastian Markbåge>//
- **[ccb14e270](https://github.com/facebook/react/commit/ccb14e270 )**: Fix SSR useCallback in render phase (#14279 ) //<Dan Abramov>//
- **[0e9cb3f5d](https://github.com/facebook/react/commit/0e9cb3f5d )**: Clear fields on unmount of fiber to avoid memory leak (#14276 ) //<Dominic Gannaway>//
- **[592676503](https://github.com/facebook/react/commit/592676503 )**: Revert "Clear memoizedState on unmount of fiber to avoid memory leak (#14218 )" (#14275 ) //<Dominic Gannaway>//
- **[9b2fb24f9](https://github.com/facebook/react/commit/9b2fb24f9 )**: Clear memoizedState on unmount of fiber to avoid memory leak (#14218 ) //<Dominic Gannaway>//
- **[a22fabc2a](https://github.com/facebook/react/commit/a22fabc2a )**: Reduce scheduler serialization overhead (#14249 ) //<Jason Miller>//
- **[21d5f7d32](https://github.com/facebook/react/commit/21d5f7d32 )**: Wrap shorthand CSS property collision warning in feature flag (#14245 ) //<Andrew Clark>//
- **[8feeed10d](https://github.com/facebook/react/commit/8feeed10d )**: [scheduler] Remove window.postMessage fallback //<Andrew Clark>//
- **[5bce0ef10](https://github.com/facebook/react/commit/5bce0ef10 )**: [scheduler] Post to MessageChannel instead of window (#14234 ) //<Andrew Clark>//
- **[f55795c8e](https://github.com/facebook/react/commit/f55795c8e )**: Add regression test for #14188 (#14197 ) //<Dan Abramov>//
- **[b98adb648](https://github.com/facebook/react/commit/b98adb648 )**: Simplify CSS shorthand property warning (#14183 ) //<Sophie Alpert>//
- **[f8bfd5868](https://github.com/facebook/react/commit/f8bfd5868 )**: fix typo //<Sebastian Markbage>//
- **[961eb65b4](https://github.com/facebook/react/commit/961eb65b4 )**: Use unique thread ID for each partial render to access Context (#14182 ) //<Sebastian Markbåge>//
- **[1a6ab1e9b](https://github.com/facebook/react/commit/1a6ab1e9b )**: SimpleMemoComponent should warn if a ref is given (#14178 ) //<Sophie Alpert>//
- **[8ae867e6b](https://github.com/facebook/react/commit/8ae867e6b )**: Warn about conflicting style values during updates (#14181 ) //<Sophie Alpert>//
- **[d5e1bf07d](https://github.com/facebook/react/commit/d5e1bf07d )**: Renamed outdated schedule/tracing referecnes (#14177 ) //<Brian Vaughn>//
- **[2dd4ba11e](https://github.com/facebook/react/commit/2dd4ba11e )**: ESlint -> ESLint //<Andrew Clark>//
- **[9cc631a53](https://github.com/facebook/react/commit/9cc631a53 )**: Don't run danger on bad build (#14143 ) //<Sophie Alpert>//
- **[1034e26fe](https://github.com/facebook/react/commit/1034e26fe )**: Fix typos (#14124 ) //<Heaven>//
- **[5618da49d](https://github.com/facebook/react/commit/5618da49d )**: Fix comment typo (#14156 ) //<Bartosz Gordon>//
- **[9fb919945](https://github.com/facebook/react/commit/9fb919945 )**: Add global to ESLint plugin bundle config //<Andrew Clark>//
- **[c174f8592](https://github.com/facebook/react/commit/c174f8592 )**: Add fb build of ESLint plugin (#14165 ) //<Andrew Clark>//
- **[02e4848e3](https://github.com/facebook/react/commit/02e4848e3 )**: Improved suspense support in ReactDOMServer (#14161 ) //<Alex Taylor>//
- **[4b163fee1](https://github.com/facebook/react/commit/4b163fee1 )**: Remove errant return assignment (#14164 ) //<Andrew Clark>//
- **[e58ecda9a](https://github.com/facebook/react/commit/e58ecda9a )**: Suspense fuzz tester (#14147 ) //<Andrew Clark>//
- **[7fd1661f8](https://github.com/facebook/react/commit/7fd1661f8 )**: Don't warn if an unmounted component is pinged (#14158 ) //<Andrew Clark>//
- **[f9e9913f0](https://github.com/facebook/react/commit/f9e9913f0 )**: [Synchronous Suspense] Don't delete children of suspended component (#14157 ) //<Andrew Clark>//
- **[7c560131b](https://github.com/facebook/react/commit/7c560131b )**: Adding logger pri (#14155 ) //<Nathan Schloss>//
- **[3d8bda70e](https://github.com/facebook/react/commit/3d8bda70e )**: Refactor ESLint configuration to enable better IDE integration (#13914 ) //<Minh Nguyen>//
- **[051272f20](https://github.com/facebook/react/commit/051272f20 )**: Use Entry in `yarn build ...` Instead of Label (#14148 ) //<Sebastian Markbåge>//
Release Notes:
[GENERAL] [FEATURE] [React] - React sync for revisions 3ff2c7c...6bf5e85
Reviewed By: bvaughn
Differential Revision: D13288288
fbshipit-source-id: 89a4837a9198c53fc79306933f589ef25d8bb4b6
2018-12-03 16:29:53 -08:00
Mike Grabowski
cb6eb03776
Extract out CLI ( #22337 )
...
Summary:
Continuation of https://github.com/facebook/react-native/pull/22174 with an exception that `local-cli` folder is left in React Native repository to keep Facebook internal and React Native calls still working.
Separate strategy should be developed to remove all uses of `local-cli` in favor of dedicated utilities.
Pull Request resolved: https://github.com/facebook/react-native/pull/22337
Reviewed By: TheSavior
Differential Revision: D13172898
Pulled By: cpojer
fbshipit-source-id: 0217867f9944648307475ebe629eb729da7bfaaf
2018-12-02 22:21:43 -08:00
Héctor Ramos
69e9c9d371
Add Coveralls to package.json [1/2] ( #21017 )
...
Summary:
Adds a new step to the test suite. Test coverage is now collected and sent to Coveralls.
Initial configuration is limited to the Libraries/ and local-cli/ directories. Please let me know if additional directories should be considered.
I have enabled this repo on the coveralls service. The coveralls token has been added to React Native's Circle CI environment variables.
- Track coverage on PRs, and fail PRs that lower the coverage %
- Increase coverage :)
[INTERNAL] [ENHANCEMENT] [.circleci/config.yml] - Start tracking code coverage (JS)
Pull Request resolved: https://github.com/facebook/react-native/pull/21017
Differential Revision: D9724396
Pulled By: hramos
fbshipit-source-id: 61da4478877805f9a9a3c9670b54ddc4e40e958b
2018-11-30 19:49:00 -08:00
Rafael Oleza
8d68a3e9f1
Upgrade metro in RN
...
Summary: Upgrade metro, yay! :)
Reviewed By: hramos
Differential Revision: D13267399
fbshipit-source-id: 37ec0daa2a282f56a70db0dfdfbf40e361813a15
2018-11-30 02:58:24 -08:00
Panagiotis Vekris
ef2084c6bd
0.87.0 in xplat/js
...
Summary: allow-large-files
Reviewed By: samwgoldman
Differential Revision: D13230018
fbshipit-source-id: f07e2371a3b7382de0592cc7c7b20e7f4faa6889
2018-11-28 17:32:50 -08:00
Tim Yung
4355b2df1b
JS: Upgrade to `chalk@^2.4.1`
...
Summary: Upgrades to `chalk@^2.4.1`. Verified no dependencies to the breaking changes in `chalk@2.0.0`.
Reviewed By: cpojer
Differential Revision: D13192150
fbshipit-source-id: 27a1a53d50a3c7628528a4f21e7166d452b2f205
2018-11-27 23:33:56 -08:00
Rafael Oleza
3355c52467
Bump metro version in React Native
...
Summary: This is the tweak on the release process of metro: after publishing D13075199 and releasing a new version of Metro, this diff upgrades it in RN along with its yarn.lock file. This should allow us to publish new versions of metro without breaking the RN sanity scripts (or disable them).
Reviewed By: hramos
Differential Revision: D13084224
fbshipit-source-id: 19781ae142db11d7dd8b6ca4303366f7ccb32dcc
2018-11-22 12:27:10 -08:00
Mike Grabowski
e0ea58ecbd
Add missing Metro Config
2018-11-22 18:18:37 +01:00
Mike Grabowski
b864e7e63e
Revert "Merge branch 'master' into 0.58-stable"
...
This reverts commit 696bd89013
, reversing
changes made to a525941ab6
.
2018-11-22 17:53:44 +01:00
Panagiotis Vekris
8fb228f313
Flow v0.86.0 in xplat/js
...
Summary:
allow-large-files
bypass-lint
ignore-conflict-markers
ignore-signed-source
ignore-nocommit
drop-conflicts
Reviewed By: yungsters
Differential Revision: D13081129
fbshipit-source-id: fbb0ccaf3c0a2f224a56f6f6ac6c26811ebba583
2018-11-16 10:43:16 -08:00
Spencer Ahrens
a00940693e
New TextInput-test that would have prevented S168585
...
Summary: Adds a basic test that would have prevented S168585. We should expand coverage of this and other components as well.
Reviewed By: TheSavior
Differential Revision: D13038064
fbshipit-source-id: 14cf4742efd53d7bca2a3f8d1c5c34ebc6227674
2018-11-15 20:51:52 -08:00
Brian Vaughn
aacb06c594
Fix React Native AsyncMode and DevTools
...
Summary:
Fixes two problems I uncovered with React Native:
1. `FBCore/Prelude` points to `React.unstable_AsyncMode` which is not defined. (This type was renamed to `React.unstable_ConcurrentMode` in React v16.6.0. **As a result** people in the "react_native:async_rendering" GK will no longer get runtime errors on app start.
2. Updates `react-devtools` and (more importantly) `react-devtools-core` to 3.4.2 to handle the React-internal tag/type refactoring that happened prior to the release of 16.6.0. **As a result** DevTools will no longer cause a runtime error when connected to React Native.
For the second change, I ran `js1 upgrade react-devtools -v ^3.4.2`
Reviewed By: sebmarkbage
Differential Revision: D13030590
fbshipit-source-id: 603f7f6259f282839039820bcdba4310064a7965
2018-11-15 09:26:01 -08:00
Stephy Ma
984eef8f9e
Revert D12994045: Flow v0.86.0 in xplat/js [3/n]
...
Differential Revision:
D12994045
Original commit changeset: 04552bf081ba
fbshipit-source-id: 062b367b88a966a6efc895c99e9911f0ec0fe8ff
2018-11-14 23:04:04 -08:00
Panagiotis Vekris
43ad3a64e6
Flow v0.86.0 in xplat/js [3/n]
...
Summary:
allow-large-files
bypass-lint
ignore-conflict-markers
ignore-signed-source
ignore-nocommit
drop-conflicts
Reviewed By: avikchaudhuri
Differential Revision: D12994045
fbshipit-source-id: 04552bf081ba742de58e80fba08f8280cb86b1c3
2018-11-14 22:13:27 -08:00
Rafael Oleza
06c13b3e06
Upgrade jest to v24.0.0-alpha.6
...
Summary: yayyay
Reviewed By: mjesun
Differential Revision: D13027838
fbshipit-source-id: ce51a82fa4c6dfa62e202e52c2733d161ae52883
2018-11-14 15:26:55 -08:00