Skip to content

Commit 6af7f71

Browse files
docs: measureLayout() with native node handler is obsolete when using new architecture (facebook#4277)
* docs/measureLayout-obsolete-with-native-node-handler * (docs) - measureLayout obsolete note for 0.76 * Update direct-manipulation.md for version 0.76
1 parent 19faea7 commit 6af7f71

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/legacy/direct-manipulation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ Determines the location of the given view in the window and returns the values v
313313
Like `measure()`, but measures the view relative to an ancestor, specified with `relativeToNativeComponentRef` reference. This means that the returned coordinates are relative to the origin `x`, `y` of the ancestor view.
314314

315315
:::note
316-
This method can also be called with a `relativeToNativeNode` handler (instead of reference), but this variant is deprecated.
316+
This method can also be called with a `relativeToNativeNode` handler (instead of reference), but this variant is obsolete with the new architecture.
317317
:::
318318

319319
<Tabs groupId="language" queryString defaultValue={constants.defaultSnackLanguage} values={constants.snackLanguages}>

website/versioned_docs/version-0.75/direct-manipulation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ Determines the location of the given view in the window and returns the values v
313313
Like `measure()`, but measures the view relative to an ancestor, specified with `relativeToNativeComponentRef` reference. This means that the returned coordinates are relative to the origin `x`, `y` of the ancestor view.
314314

315315
:::note
316-
This method can also be called with a `relativeToNativeNode` handler (instead of reference), but this variant is deprecated.
316+
This method can also be called with a `relativeToNativeNode` handler (instead of reference), but this variant is obsolete with the new architecture.
317317
:::
318318

319319
<Tabs groupId="language" queryString defaultValue={constants.defaultSnackLanguage} values={constants.snackLanguages}>

website/versioned_docs/version-0.76/legacy/direct-manipulation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ Determines the location of the given view in the window and returns the values v
313313
Like `measure()`, but measures the view relative to an ancestor, specified with `relativeToNativeComponentRef` reference. This means that the returned coordinates are relative to the origin `x`, `y` of the ancestor view.
314314

315315
:::note
316-
This method can also be called with a `relativeToNativeNode` handler (instead of reference), but this variant is deprecated.
316+
This method can also be called with a `relativeToNativeNode` handler (instead of reference), but this variant is obsolete with the new architecture.
317317
:::
318318

319319
<Tabs groupId="language" queryString defaultValue={constants.defaultSnackLanguage} values={constants.snackLanguages}>

0 commit comments

Comments
 (0)