DEV Community

Cover image for Angular Standalone components - CheatSheet
Fabio Biondi
Fabio Biondi

Posted on

15 1 1 1

Angular Standalone components - CheatSheet

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

Top comments (1)

Collapse
 
jangelodev profile image
João Angelo

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

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay