Armen Vardanyan
@armandotrue.bsky.social
π€ 168
π₯ 151
π 73
GDE for Angular, front-end team lead. I write articles and talk at conferences
pinned post!
If you don't know, I've authored a book about
#Angular
- aptly titled "Modern Angular" It is approaching print publication and is already available online with early access You can check it out here:
www.manning.com/books/modern...
loading . . .
Modern Angular
Discover the new features and techniques of the most modern versions of Angular.</b> The powerful Angular framework is ever-evolving, with each new iteration bringing amazing new modern features. Mod...
https://www.manning.com/books/modern-angular
10 months ago
0
4
2
Any good resources on steps to upgrade to application builder in v17 without upgrading to v18/v19?
10 months ago
0
2
0
Quick question: do you think about a class getter as "derived state"?
10 months ago
0
1
0
Did you know you can create
#Angular
template-driven form groups? Defining forms is easy even without reactive if you know the details. You can use `ngModelGroup` to achieve the same result:
10 months ago
1
7
0
Another just-for-fun question So, the
#RxJS
`tap` operator is specifically designed to perform side-effects However, its implementation is just taking an Observable and returning a new one with the side-effect slapped on it So, is `tap` itself a pure function or not? π
10 months ago
0
1
0
What concepts from reactive programming do you find the most challenging to explain to beginners? My bet is on "declarative programming"
10 months ago
0
0
0
#NgRx
ESLint ruleset has a rule that prohibits mapping Observables from the store to be mapped in component Instead, it encourages the use of new, derived selectors and a direct selection of the state I believe we should not create computed properties from store signals What do you think?
10 months ago
0
2
0
My last article seems to be doing quite some rounds... If you have missed something from Angular v19, check the article out - there are a lot of hidden gems there!
www.angularspace.com/angular-v19-...
loading . . .
Angular v19 No Signals Edition
Angular v19 is all the rage these days! Of course, everyone talks about SSR improvements, like incremental hydration, linkedSignal and resource/rxResource APIs, and you can already find some articles ...
https://www.angularspace.com/angular-v19-no-signals-edition/
10 months ago
0
1
0
When we make HTTP calls in
#Angular
, sometimes we need to map the response to something else With `rxResource`, would you prefer to do it with an
#RxJS
operator, or with a computed/linked signal? I prefer doing it with RxJS, but I want to hear opinions
10 months ago
4
2
0
I ran into an
#Angular
article today, and I think it is entirely AI-generated The amount of just plain wrong stuff in it is too astounding to write it off as just a mistake Honestly, this makes me mad
medium.com/@sehban.alam...
loading . . .
Understanding the Difference Between `ngFor` and `@for` in Angular 17
With the release of Angular 17, developers have witnessed a number of improvements and new features that enhance the overall developer experience. Two of the most discussed constructs in Angular forβ¦
https://medium.com/@sehban.alam/understanding-the-difference-between-ngfor-and-for-in-angular-17-fd03dd6ee84e?s=09
10 months ago
0
2
0
Important to remember: while `Resource` implements some methods from `WritableSignal` (set, update), it is not itself a signal. If you want to bind a resource to `ngModel` in your
#Angular
component template, use its `value` signal, not the resource itself:
10 months ago
1
3
0
I never understood why people would make Facades for
#NgRx
, I don't get the point. Isn't NgRx itself already a facade? A big, complex system with which you interact only via two simple methods (dispatch, select)
10 months ago
0
1
0
You can call methods of a child component in
#Angular
templates via a reference variable Do you think this is a bad practice? If so, how can we avoid it? What would be some cases where this is justified?
10 months ago
2
2
0
Not something super hard, but important
#Angular
linked signals have the same scheduling approach for computations as regular `computed` properties Computation does not run initially until the value is first read. Subsequently, only new reads will trigger to recompute
10 months ago
0
4
0
I've run into an interesting type issue with
#Angular's
new `linkedSignal` Using the previous value argument in computation callback results in an `unknown` type, even when the type returned is super explicit Any idea why this is the case?
10 months ago
2
0
0
My upcoming
#Angular
v19 article is already under review, and I'm happy to say exploring the full release docs taught me a lot Interesting things are coming π€«
10 months ago
0
1
0
What have been some cases, in your experience, where you purposefully did not use `OnPush` in an
#Angular
component? Was the component too large? Did it cause many issues? I'm interested in hearing scenarios
10 months ago
0
1
0
I think one improvement to
#Angular's
Resource API would be the addition of initial values Sometimes the `request` can depend on optional signals, and we might want an easier mechanism of having some default value:
10 months ago
0
1
0
#Angular's
Resource API is wonderful Easily chain HTTP requests that depend on each other:
10 months ago
0
2
0
I'm already writing a new article I will cover all the more obscure features (some of them I already tweeted about) that got a bit overlooked because of the `linkedSignal`/Resource API hype π Will drop next week! π
10 months ago
0
2
0
#Angular
v19 Resolvers will now also accept a `RedirectCommand`! We can use it to navigate to other pages depending on the data received, or for handling errors
10 months ago
1
9
2
Let's maybe start an
#Angular
discussion? What's the best feature in your opinion in v19?
10 months ago
2
1
0
If you don't know, I've authored a book about
#Angular
- aptly titled "Modern Angular" It is approaching print publication and is already available online with early access You can check it out here:
www.manning.com/books/modern...
loading . . .
Modern Angular
Discover the new features and techniques of the most modern versions of Angular.</b> The powerful Angular framework is ever-evolving, with each new iteration bringing amazing new modern features. Mod...
https://www.manning.com/books/modern-angular
10 months ago
0
4
2
Great to see so much appreciation!
add a skeleton here at some point
10 months ago
0
1
0
I put a lot of effort into this article - and I mean a lot! I've read the source code, compiled and tried out examples - to deliver you the latest we know about Resource API Give it a read to learn more!
add a skeleton here at some point
10 months ago
1
3
2
By the way, if you want to update an
#Angular
signal of an array using an index, the new `Array.with` method can be useful! It returns a new array instead of modifying the existing one, which is perfect for pure updater functions like `update` callback or reducers:
10 months ago
0
3
1
You will be able to provide a `debugName` for signals in
#Angular
v19 This will become super useful when rich signal debugging tools become available!
10 months ago
0
6
0
The new syntactic sugar for app initializer functions is nice!
10 months ago
0
3
1
I just updated my personal website π
10 months ago
0
2
0
Aside from the main points: I love the way
#Angular
introduces new major versions now. Livestreams are cool and
@marktechson.com
is amazing!!!
10 months ago
0
1
0
Man, hydration related content is lost on me. Never had a real chance to use SSR on a large-scale app yet
10 months ago
0
1
0
Wait, reordering material tabs? We kinda skimmed through it, but it's a great feature, I guess
10 months ago
0
0
0
I didn't know about `mat.theme` before this livestream, but it seems amazing! Can't wait to check it out
10 months ago
0
0
0
Hah, the `resource` API is introduced with no mention of RxJS and `rxResource` I think it's good, examples look more generic
10 months ago
0
0
0
Today I was thinking that maybe in the future, when
#RxJS
is made optional the
#Angular
CLI is gonna ask "Do you want to add RxJS to your project?" when creating a new application π
10 months ago
0
0
0
What is the ideal maximum length of a single file
#Angular
component? I try to limit mine to 120 lines of code, but I have seen more extreme approaches. What do you prefer?
10 months ago
1
0
0
Did you know that instead of untracking multiple signals individually in a computed/effect, you can use an untracked callback? The `untrack` function from
#Angular
call also accepts a callback, and any signal read in the callback won't be tracked. We can also return the value from `untracked`!
10 months ago
0
6
0
Make sure not to miss the
#Angular
v19 releas livestream!
goo.gle/angular-v19
loading . . .
Angular v19 Developer Event
Join the Angular team as we unveil the latest features for Angular v19.You can expect news about the future of hydration, developer experience improvements, ...
https://goo.gle/angular-v19
10 months ago
0
0
0
Do
#Angular
signals feel like more or less magic than the Zone-based CD that we have?
10 months ago
0
0
0
Lmao my entire feed here is cats... which is not bad at all! π But, we gotta make this more
#Angular
π
10 months ago
0
3
0
Looking forward to
#Angular
v19 this week... ...to be able to drop the new big article on `resource`/`rxResource` π
10 months ago
0
0
0
For what it's worth, here is my latest article :)
add a skeleton here at some point
11 months ago
1
3
0
I'm interested in talking to
#Angular
devs here too; Should I just start posting the same stuff I do on Twitter here? π
11 months ago
3
1
0
I'm gonna start posting here too
11 months ago
0
0
0
Well, this place looks empty...
almost 2 years ago
0
4
0
you reached the end!!
feeds!
log in