How to choose which to use classic angular input or signal input

Discussão em 'Angular' iniciado por Msh, Julho 24, 2025.

  1. Msh

    Msh Guest

    I have done a lot of research but I could not reach a convincing and clear answer.

    I am building a new Angular v19 app, and for local component variables input, I have considered the following questions:

    1- When should I use classic @Input over signal input function?

    2- Should I use signal input/output for all my components and why?

    3- Is classic @Input lighter than signal input so I should use signal only when there is a state change?

    4- Should I replace all the get and set functions with signal functions and “compute” or “effect” as possible?

    5- Should I try to make my component fully use signal and change the change detector to “OnPush”?

    Appreciate your clear justification, thanks in advance.

    Continue reading...

Compartilhe esta Página