Angular Stream
55 subscribers
21 photos
271 links
Angular news, events, videos etc.
If you want to recommend a post please write @hobbyts911
Download Telegram
If you want to use Headless UI components in your projects instead of libraries like material you can use both
https://www.spartan.ng/documentation/installation
and
http://angularprimitives.com/
But make sure this will cover all your needs, because it is far from feature set regular libraries has, especially for big projects.

#angular #ui
Did you know that in angular version 19+ you can use

#name
instead of
private name
to make them true private?

I didn't know that properties with private field works only before compile time and it is open in production code for access.
Here is a good article about this https://riegler.fr/blog/2024-05-17-private-fields-downleveling

Make sure you are not using in earlier angular versions as it will result in weakMap creation.

#angular #ts #typescript #advanced #tips