forwardRef
function
Allows to refer to references which are not yet defined.
API
Description
Usage Notes
function forwardRef( forwardRefFn: ForwardRefFn): Type<any>;
forwardRef
Type<any>
Allows to refer to references which are not yet defined.
For instance, forwardRef
is used when the token
which we need to refer to for the purposes of
DI is declared, but not yet defined. It is also used when the token
which we use when creating
a query is not yet defined.
forwardRef
is also used to break circularities in standalone components imports.
@returns
Type<any>
Jump to details