Skip to content

Commit ffd7691

Browse files
mateoguzmanafacebook-github-bot
authored andcommitted
Fix out-of-date "Direct Manipulation" link (facebook#50834)
Summary: Was triaging an issue and saw this dead link that has changed. This diff adds the equivalent link that works. <details> <summary>See screenshot of previous link:</summary> ![image](https://github.com/user-attachments/assets/f17e72a0-75b2-4446-9f4b-7a6470580f17) </details> ## Changelog: [INTERNAL] - Fix out-of-date "Direct Manipulation" link Pull Request resolved: facebook#50834 Test Plan: <details> <summary>See screenshot of new link:</summary> ![image](https://github.com/user-attachments/assets/a284ba3c-050d-4c4c-9f8e-4770608f529a) </details> Reviewed By: cortinico Differential Revision: D73421475 Pulled By: rshest fbshipit-source-id: c9be165d2a27a3227d8337dc00456746627b8708
1 parent 66a4a4d commit ffd7691

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

packages/react-native/Libraries/Components/ScrollView/ScrollView.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -869,7 +869,7 @@ export class ScrollView extends ScrollViewBase {
869869
* This function sends props straight to native. They will not participate in
870870
* future diff process - this means that if you do not include them in the
871871
* next render, they will remain active (see [Direct
872-
* Manipulation](https://reactnative.dev/docs/direct-manipulation)).
872+
* Manipulation](https://reactnative.dev/docs/the-new-architecture/direct-manipulation-new-architecture)).
873873
*/
874874
setNativeProps(nativeProps: object): void;
875875
}

packages/react-native/src/private/types/HostInstance.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export type MeasureLayoutOnSuccessCallback = (
3838
* The methods described here are available on most of the default components provided by React Native.
3939
* Note, however, that they are not available on composite components that aren't directly backed by a
4040
* native view. This will generally include most components that you define in your own app.
41-
* For more information, see [Direct Manipulation](https://reactnative.dev/docs/direct-manipulation).
41+
* For more information, see [Direct Manipulation](https://reactnative.dev/docs/the-new-architecture/direct-manipulation-new-architecture).
4242
* @see https://github.com/facebook/react-native/blob/master/Libraries/Renderer/shims/ReactNativeTypes.js#L87
4343
*/
4444
export interface LegacyHostInstanceMethods {
@@ -100,7 +100,7 @@ export interface LegacyHostInstanceMethods {
100100
* This function sends props straight to native. They will not participate in
101101
* future diff process - this means that if you do not include them in the
102102
* next render, they will remain active (see [Direct
103-
* Manipulation](https://reactnative.dev/docs/direct-manipulation)).
103+
* Manipulation](https://reactnative.dev/docs/the-new-architecture/direct-manipulation-new-architecture)).
104104
*/
105105
setNativeProps(nativeProps: {...}): void;
106106
}

packages/react-native/types/public/ReactNativeTypes.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export type MeasureLayoutOnSuccessCallback = (
3939
* The methods described here are available on most of the default components provided by React Native.
4040
* Note, however, that they are not available on composite components that aren't directly backed by a
4141
* native view. This will generally include most components that you define in your own app.
42-
* For more information, see [Direct Manipulation](https://reactnative.dev/docs/direct-manipulation).
42+
* For more information, see [Direct Manipulation](https://reactnative.dev/docs/the-new-architecture/direct-manipulation-new-architecture).
4343
* @see https://github.com/facebook/react-native/blob/master/Libraries/Renderer/shims/ReactNativeTypes.js#L87
4444
*/
4545
export interface NativeMethods {
@@ -95,7 +95,7 @@ export interface NativeMethods {
9595
* This function sends props straight to native. They will not participate in
9696
* future diff process - this means that if you do not include them in the
9797
* next render, they will remain active (see [Direct
98-
* Manipulation](https://reactnative.dev/docs/direct-manipulation)).
98+
* Manipulation](https://reactnative.dev/docs/the-new-architecture/direct-manipulation-new-architecture)).
9999
*/
100100
setNativeProps(nativeProps: object): void;
101101

0 commit comments

Comments
 (0)