Skip to content

Commit e7aeea2

Browse files
RSNarafacebook-github-bot
authored andcommitted
Deprecate legacy javascript apis (#53630)
Summary: Pull Request resolved: #53630 These JavaScript apis were a part of react native's legacy architecture. Let's deprecate them, so that we can eventually remove them in the future. Changelog: [General][Deprecated] - Deprecate legacy javascript react native apis Reviewed By: cortinico Differential Revision: D81795732 fbshipit-source-id: 0a2bd142fa7e08c1f3daaa437ee127a2156e045b
1 parent c04248d commit e7aeea2

6 files changed

Lines changed: 6 additions & 0 deletions

File tree

packages/react-native/Libraries/BatchedBridge/BatchedBridge.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
*
77
* @flow strict
88
* @format
9+
* @deprecated
910
*/
1011

1112
'use strict';

packages/react-native/Libraries/BatchedBridge/MessageQueue.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
*
77
* @flow strict
88
* @format
9+
* @deprecated
910
*/
1011

1112
'use strict';

packages/react-native/Libraries/Core/Timers/JSTimers.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
*
77
* @flow
88
* @format
9+
* @deprecated
910
*/
1011

1112
import NativeTiming from './NativeTiming';

packages/react-native/Libraries/Core/Timers/NativeTiming.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
*
77
* @flow strict
88
* @format
9+
* @deprecated
910
*/
1011

1112
export * from '../../../src/private/specs_DEPRECATED/modules/NativeTiming';

packages/react-native/Libraries/Core/Timers/immediateShim.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
*
77
* @flow
88
* @format
9+
* @deprecated
910
*/
1011

1112
'use strict';

packages/react-native/src/private/specs_DEPRECATED/modules/NativeTiming.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
*
77
* @flow strict
88
* @format
9+
* @deprecated
910
*/
1011

1112
import type {TurboModule} from '../../../../Libraries/TurboModule/RCTExport';

0 commit comments

Comments
 (0)