Angular Standalone components - CheatSheet
Fabio Biondi

Fabio Biondi @fabiobiondi

About: Google Developer Expert in Angular • Microsoft MVP • Front-End Instructor • Speaker & Content Creator • Twitch Partner • ♥️ JS

Location:
Italy
Joined:
Jan 26, 2019

Angular Standalone components - CheatSheet

Publish Date: Jan 8 '24
18 1

Standalone components are one of the features that have definitely simplified the use of Angular.
They have been available since version 14 of the framework and, version after version, they have been further enhanced and improved.

Since Angular v.16, the Input decorator supports several new features, including:

➡️ "required": enforce that a given input must have a value
➡️ "alias": change the name of an input in templates
➡️ "transform (fn)": transform the input value
➡️ "transform (booleanAttribute)": coearcing values to boolean
➡️ "transform (numberAttribute)": coearcing values to number

But in the next releases of Angular we will have a fantastic news:
the input signals! 😍

Stay tuned!

oh I was forgetting... 😅
I attach a simple cheatsheet to list some of them

Image description

Comments 1 total

  • João Angelo
    João AngeloJan 12, 2024

    Hi Fabio Biondi,
    Your article is very cool
    Thanks for sharing

Add comment