This is a native module, so you need to rebuild the app.
Requires React Native's New Architecture (Fabric).
Text component<PlainText> is API-compatible with React Native <Text>, so you can define a selector component:
<PlainText> for simple strings, falling back to RN <Text> for nested text. Use it anywhere
you'd use <Text>.
This pattern gives you Plain Text's performance benefits across the app without changing any call sites.
You can also apply this conditional rendering inside an existing centralized Text component (e.g. design system) instead of adding a separate component.
RN's unstable_TextAncestorContext is true when the text renders inside another <Text>.