Skip to content

Commit ae807a7

Browse files
committed
Added rollout strategy with feature flag
1 parent b54a1bd commit ae807a7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

proposals/0000-dom-traversal-and-layout-apis.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: DOM traversal and layout APIs in React Native
33
author: Rubén Norte
44
date: 2023-03-01
5+
updated: 2023-03-10
56
---
67

78
# RFC: DOM traversal and layout APIs in React Native
@@ -629,7 +630,9 @@ Another alternative would be to continue disallowing access to the host tree. Ma
629630

630631
## Adoption strategy
631632

632-
The proposed APIs would only be available in the new React Native architecture, so its rollout and documentation should be done in parallel.
633+
The proposed APIs would only be available in the new React Native architecture, so its rollout and documentation should be done after it (or in parallel).
634+
635+
Additionally, we would gate these APIs behind a feature flag until they are stable. This is to avoid having unstable APIs exposed direclty or having non-standard names for them (like `unstable_getBoundingClientRect`) that would have to be migrated after.
633636

634637
We should document these APIs in the [React Native website](https://reactnative.dev/):
635638

@@ -671,3 +674,4 @@ This is a **non-exhaustive** list of **possible** future extensions to the frame
671674
|--- |--- |--- |
672675
|2023-03-01 | [Rubén Norte](https://github.com/rubennorte) |Initial version published |
673676
|2023-03-02 | [Rubén Norte](https://github.com/rubennorte) |Fixed information about Reanimated |
677+
|2023-03-10 | [Rubén Norte](https://github.com/rubennorte) | Added rollout strategy with feature flag |

0 commit comments

Comments
 (0)