Cyclic dependency error in Angular 19 with standalone components

Discussão em 'Angular' iniciado por Antony, Abril 10, 2025.

  1. Antony

    Antony Guest

    Webstorm gives me

    Cyclic dependency between: AComponent -> BComponent -> CComponent -> AComponent


    even though I use

    forwardRef(() => AComponent),


    In a child component. Changing places where I place forwardRef in the component hierarchy doesn't seem to have an effect on this error. I don't have any related error in the console when running npm start though

    Continue reading...

Compartilhe esta Página