-
-
Notifications
You must be signed in to change notification settings - Fork 107
Open
Labels
Description
Code of Conduct
- I have read and agree to the xyflow contributor Code of Conduct
Which site are you suggesting a change for?
reactflow.dev
What content is affected by this change?
UI Components
What part(s) of the article would you like to see updated?
Our current version of React components is built for React 18. Our components use React.forwardRef
intensively. In React 19, forwardRef
is deprecated—you now pass ref
directly as a prop to your function components, instead of using forwardRef
to forward it.
The latest shadcn components use this in conjunction with React.ComponentProps<typeof Component>
.
Additional information
No response