This is the easiest way to switch between Dark/Light and System mode. π
Simply add an element with the selected `data-theme` mode, or remove it from the DOM to switch to System mode.
It might not be perfect, but it's the fastest and simplest method! π
05.03.2026 17:08
π 0
π 0
π¬ 0
π 0
Back in the days when I learned development, everyone used borders exclusively. Iβm not sure if outlines were a thing back then, at least I wasnβt aware of them.
And borders remain the same today.
05.03.2026 05:45
π 1
π 0
π¬ 0
π 0
Why does it hurt though? π
04.03.2026 19:24
π 1
π 0
π¬ 0
π 0
Sometimes, this is still the most reliable CSS debugger we have πͺ
04.03.2026 19:22
π 1
π 0
π¬ 1
π 0
Image from Netanel Basal.
06.11.2025 15:56
π 0
π 0
π¬ 0
π 0
Debouce in Angular signal form.
Still in WIP.
06.11.2025 15:54
π 6
π 1
π¬ 1
π 0
New encapsulation in Angular 21, and nobody's talking about it! πΆ
Handy for email builders, when you don't want any external styles to affect the builder elements, such as text and images, it should look the same as in an email service.
Still in WIP, btw.
05.11.2025 14:47
π 4
π 1
π¬ 1
π 0
You don't know what this is aboutπ‘!
A long, long time ago, I wanted to 'emulate' the Angular router, but only using CDK Portals and also supporting different outlets, lazy loading, and smooth transitions.
Wait for it, you'll like it! π€
04.11.2025 16:23
π 3
π 0
π¬ 0
π 0
In Angular 21, we will probably have a structural directive `*routerOutletPlaceholder` for the Router placeholder.
It hasn't been merged yet.
The previous idea was to add support for `<ng-container routerOutlet />`, but it was reverted.
What do you think about the placeholder?
28.10.2025 09:57
π 5
π 0
π¬ 0
π 0
Yes, they are! Both of them have their place.
28.10.2025 07:41
π 1
π 0
π¬ 0
π 0
This is the problem, ai helps those who knows what are doing, but most probably will replace who doesnβt know!
27.10.2025 19:32
π 1
π 0
π¬ 0
π 0
Agree, it's not a direct competition, rxjs still has its place in Angular and in general.
RxJS for complex, signals for 90% of cases.
27.10.2025 16:38
π 2
π 0
π¬ 0
π 0
signals > rxjs
(change my mind)
#Angular
27.10.2025 15:23
π 3
π 0
π¬ 3
π 0
Speaking of the `URL` class, let's see if we understand the difference from the old way (see previous tweet).
So, what's the output of this?
13.10.2025 07:21
π 2
π 0
π¬ 0
π 0
Did you know? Thank me later!
13.10.2025 07:19
π 2
π 0
π¬ 0
π 1
How about this?
09.10.2025 08:49
π 2
π 0
π¬ 0
π 0
Do you know you MUST provide a valid reply email address to stay compliant?
Even your no-reply address must be able to receive emails and handle "unsubscribe' requests or anything else the user wants.
It's no longer enough to just include a link!
08.10.2025 11:07
π 1
π 0
π¬ 0
π 0
How would a senior refactor this? How would you do?
08.10.2025 11:02
π 1
π 0
π¬ 0
π 1
I'm so old now to just learning and understanding what cognitive dissonance and confirmation bias are.
I feel a bit ashamed.
03.09.2025 07:02
π 3
π 0
π¬ 0
π 0
I'm planning to start a banking startup! It sounds crazy and feels risky, but I want to do it.
Iβm not alone in this.
But some circumstances aren't in my control.
I hope I can get past them and move on to the easy part: building.
07.07.2025 13:06
π 1
π 0
π¬ 0
π 0
What if we won't need to build the frontend anymore? All we'll need to do is just an MCP π₯
30.06.2025 15:49
π 1
π 0
π¬ 0
π 0
I agree, but I use exhaustMap more often when handling the requests.
And I use `tapResponse` to handle error, next, and finalize.
17.06.2025 06:25
π 2
π 0
π¬ 1
π 0
Yes, great operators, but not used so often, no?
17.06.2025 06:23
π 1
π 0
π¬ 0
π 0
This is mostly all I need from rxjs! π with a few exceptions!
What's your most used rxjs operators?
16.06.2025 17:21
π 1
π 1
π¬ 2
π 1
I remember talking about CDK Portals a long time ago!
Itβs a feature that still exists and is waiting to be used more.
I had an idea back then to 'emulate' the Angular router, but with just portals π.
An experiment that would teach us, and you, in-depth how to use them.
12.06.2025 18:03
π 1
π 0
π¬ 0
π 0
Thanks, Iβll take a closer look!
09.06.2025 18:43
π 1
π 0
π¬ 0
π 0
I started reading again! π
I used to read much more often, but since my son was born, the rules have changedβby 180 degrees!
Now he's five years old! πΆ
I'm trying to get this habit back.
Any recommendations? Startups, coding, tech!
09.06.2025 15:36
π 3
π 0
π¬ 1
π 0
Angular's `canMatch` guard is great!
It allows different pages on the same path.
For example, authenticated users see the dash page, while others see the auth page.
It matches children, but it sends 2 requests if `canMatch` returns false from a child path.
I like this method.
07.06.2025 11:52
π 2
π 0
π¬ 0
π 0
Not the best, but still good!
What company details would you like to see next? I can show them to you for free today! π
All data should be publicly available.
06.06.2025 06:44
π 2
π 0
π¬ 0
π 0
Help, please π
Designers, how can I display all this data? Should I use a table or simple blocks?
It's a lot of data to show!
05.06.2025 17:43
π 0
π 0
π¬ 0
π 1