When to use signals in my Angular v18 components?

Discussão em 'Angular' iniciado por sKarma7, Dezembro 16, 2024.

  1. sKarma7

    sKarma7 Guest

    I understand the basis of signals and what they are used for, and have adopted them myself. Just want to fully understand when to use them.

    I am confused on when exactly to use signals, I have seen some rule of thumbs from other devs saying that whenever you are referencing a value in your .html template file, use a signal. However, should I use a signal even if that value will never change after the component has been created? e.g. a header title.

    Continue reading...

Compartilhe esta Página