Skip to content

Components: update to React 19 #1000

@0x0f0f0f

Description

@0x0f0f0f

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions