mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/45197 With React 19, `forwardRef` is no longer necessary because `ref` is available on props. However, this only holds true for functional components — not class components. This eliminates the `forwardRef` invocation in `ScrollView`, while retaining the wrapper component to map `ref` to `scrollViewRef` for the class component. For now... Changelog: [Internal] Reviewed By: javache Differential Revision: D59091873 fbshipit-source-id: 60afcd441aec82fa050738b5c09083f3a26378d6