-
Notifications
You must be signed in to change notification settings - Fork 605
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove forwardRef creation for React 19
Summary: Adds a `reactRuntimeTarget` option (defaulting to `'18'`) that when set to '19' no longer adds the `forwardRef` wrapper as React 19 treats refs on function components as regular props. Reviewed By: pieterv Differential Revision: D59131404 fbshipit-source-id: 891e523d0cd0e4d3c374ec4b40d2faee6c83a456
- Loading branch information
1 parent
3034371
commit 70df046
Showing
4 changed files
with
59 additions
and
21 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
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