From 4d7908d4980e27ade2eaf6f27bd330f601b4631f Mon Sep 17 00:00:00 2001 From: Vincent Riemer <1398555+vincentriemer@users.noreply.github.com> Date: Wed, 19 Feb 2025 14:32:28 -0800 Subject: [PATCH] Add danger text to feature flag section of the Pointer Events blog post As we get closer to enabling Pointer Events by default we want to ensure that people understand that utilizing these feature flags will cause breakages when we phase them out. --- website/blog/2022-12-13-pointer-events-in-react-native.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/website/blog/2022-12-13-pointer-events-in-react-native.md b/website/blog/2022-12-13-pointer-events-in-react-native.md index 40561eaf36d..043da1f545f 100644 --- a/website/blog/2022-12-13-pointer-events-in-react-native.md +++ b/website/blog/2022-12-13-pointer-events-in-react-native.md @@ -106,6 +106,12 @@ Our Pointer Events implementation is still experimental but we’re interested i ### Enable Feature Flags +:::danger + +Overriding the native feature flags below (such as RCTConstants and ReactFeatureFlags) is technically reaching into React Native's internals so doing so may break your setup soon as we are working to phase them out in order for us to roll Pointer Events out more broadly. + +::: + :::note Pointer Events are only implemented for the [New Architecture (Fabric)](https://reactnative.dev/docs/the-new-architecture/use-app-template) and are only available for React Native 0.71+ which at the time of writing is a release candidate.