Files
react-native/private/react-native-fantom/runtime
Jack Pope ba4ed28cb0 Add host instance pointer and text node feature flags (#55614)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/55614

- enableFragmentRefsInstanceHandles
  - Enables a pointer on each element back to the FragmentInstances that control it. Needed to implement the common IntersectionObserver pattern of reusing IntersectionObservers across multiple callbacks. See more in https://github.com/facebook/react/pull/34935
- enableFragmentRefsTextNodes
  - This should be a noop on RN as unlike dom, text nodes are considered host components and already handled. Text without a `<Text/>` wrapper throws an error.

Changelog: [Internal]

Reviewed By: christophpurrer

Differential Revision: D93479122

fbshipit-source-id: 639369893c8aafc1d2bf0ffbdf4bf09fe6dca45c
2026-02-18 09:53:41 -08:00
..