Skip to main content

Introducing Workflow Engine, try for FREE workflowengine.io.

Function: forwardRef()

forwardRef<T, P>(render): ForwardRefExoticComponent<P> | ForwardRefExoticComponent<PropsWithoutRef<P> & RefAttributes<T>>

Shim to be compatible with React 19.

Type Parameters

T

P = object

Parameters

render: ForwardRefRenderFunction<T, P & object>

the forward ref render function.

Returns

ForwardRefExoticComponent<P> | ForwardRefExoticComponent<PropsWithoutRef<P> & RefAttributes<T>>

the React component.

Stay in the know
Quickly Build Drag-and-Drop Forms
Star us on GitHub