Create an Angular Signal Which Stores a Value

InstructorTomasz Ducin

Share this video with your friends

Send Tweet

This lesson teaches how to create a signal in Angular with the signal function from @angular/core. Signals need an initial value, which can be a primitive, object, or any other valid expression in JavaScript.

TypeScript infers the signal's type and catches errors during compilation.