Waldek Mazurek
wmazurek.bsky.social
Waldek Mazurek
@wmazurek.bsky.social
Senior Software Dev (UI/UX, JS/TS, Angular)
Polish

> Dowiedz się, jak tworzyć niesamowite interakcje i zachwycające detale, korzystając z magii CSS, JavaScript, SVG i Canvas.
>
> W tym artykule dzielę się wszystkimi moimi sztuczkami!
February 7, 2025 at 10:03 PM
There's also great winery in Sandomierz where you can taste (and buy) local wines:
g.co/kgs/oZcynFU
Google Search
g.co
January 21, 2025 at 8:56 AM
Anyway, many of them provide online shopping as well. I can fully recommend multiple vineyards from Sandomierz area - for example Terra:
sklep.winnicaterra.pl
WinnicaTERRA.pl
polskie wino polska winnica swietokrzyskie sandomierz
sklep.winnicaterra.pl
January 21, 2025 at 8:52 AM
Now you're ready for the colonoscopy exam 🤘
December 6, 2024 at 9:24 AM
With model input you just use its name in a template:
'[(value)]="..."'

This is done instead of well-known 'ngModel' directive:
'[(ngModel)]="..."'

This is what I meant ;-)
November 28, 2024 at 5:23 PM
Btw, since v17 you can also use model input instead of 'ngModel':
angular.dev/guide/compon...
Angular
The web development framework for building modern apps.
angular.dev
November 28, 2024 at 2:38 PM
Progressive enhancement for the win - make no harm, but raise the bar if possible 🚀

Here's interesting take on this subject (from CSS perspective):
www.joshwcomeau.com/css/browser-...
A Framework for Evaluating Browser Support • Josh W. Comeau
Lots of exciting new features have been landing in CSS recently, and it can be tough trying to figure out if they’re safe to use or not. We might know that a feature is available for 92% of users, but...
www.joshwcomeau.com
November 28, 2024 at 7:54 AM
I can't see other way with current state of 'linkedSignal' - not with 'NoInfer' on board. Unless you overwrite it with your own type ;)

Anyway, it's still in preview mode, so we can expect changes in this area
November 25, 2024 at 2:25 PM
Btw, there's 'NoInfer' type used in linkedSignal and this is direct cause of 'unknown' type in your case:
www.totaltypescript.com/noinfer
NoInfer: TypeScript 5.4's New Utility Type
Learn how TypeScript's new utility type, NoInfer, can improve inference behavior by controlling where types are inferred in generic functions.
www.totaltypescript.com
November 25, 2024 at 1:50 PM
It seems you have to set computed type explicitly (like 'linkedSignal<S, D>'), as expected return type for computation is 'D' and entire signal type is 'WriteableSignal<D>'.

So, if 'D' is not set then it's kinda hard to predict what type would be computed - even if source type ('S') can be infered.
November 25, 2024 at 1:48 PM
Not yet, but I'm aware of it ;)
Looking foward to look into it ☕
November 21, 2024 at 12:20 PM
Regarding single feature I'm really impressed with the resource API (especially built-in signal props for value, status, etc). Of course it's an experimental feature but we can test it already

For more general stuff it's nice to see how signals become more stable with new schematics and IDE support
November 21, 2024 at 11:52 AM
Also if you prefer to watch instead of reading:
youtu.be/W7-lsoL-Gi8?...
Angular Resource API - Everything You Have To Know (so far)
YouTube video by Decoded Frontend
youtu.be
November 20, 2024 at 6:59 PM