-
Notifications
You must be signed in to change notification settings - Fork 24.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Pull Request resolved: #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
- Loading branch information
1 parent
bfc51f9
commit 1341169
Showing
2 changed files
with
15 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters