Waldek Mazurek's Avatar

Waldek Mazurek

@wmazurek

Senior Software Dev (UI/UX, JS/TS, Angular)

118
Followers
167
Following
14
Posts
20.11.2024
Joined
Posts Following

Latest posts by Waldek Mazurek @wmazurek

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!

07.02.2025 22:03 👍 1 🔁 0 💬 0 📌 0
Google Search

There's also great winery in Sandomierz where you can taste (and buy) local wines:
g.co/kgs/oZcynFU

21.01.2025 08:56 👍 1 🔁 1 💬 0 📌 0
Preview
WinnicaTERRA.pl polskie wino polska winnica swietokrzyskie sandomierz

Anyway, many of them provide online shopping as well. I can fully recommend multiple vineyards from Sandomierz area - for example Terra:
sklep.winnicaterra.pl

21.01.2025 08:52 👍 1 🔁 0 💬 0 📌 0

Now you're ready for the colonoscopy exam 🤘

06.12.2024 09:24 👍 1 🔁 0 💬 1 📌 0

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 ;-)

28.11.2024 17:23 👍 1 🔁 0 💬 1 📌 0
Preview
Angular The web development framework for building modern apps.

Btw, since v17 you can also use model input instead of 'ngModel':
angular.dev/guide/compon...

28.11.2024 14:38 👍 1 🔁 0 💬 1 📌 0
Preview
Cobalt2 Theme Official - Visual Studio Marketplace Extension for Visual Studio Code - 🔥 Official theme by Wes Bos.

Isn't it Cobalt theme?

marketplace.visualstudio.com/items?itemNa...

28.11.2024 10:41 👍 0 🔁 0 💬 2 📌 0
Preview
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...

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-...

28.11.2024 07:54 👍 1 🔁 0 💬 0 📌 0

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

25.11.2024 14:25 👍 1 🔁 0 💬 1 📌 0
Preview
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.

Btw, there's 'NoInfer' type used in linkedSignal and this is direct cause of 'unknown' type in your case:
www.totaltypescript.com/noinfer

25.11.2024 13:50 👍 0 🔁 0 💬 1 📌 0

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.

25.11.2024 13:48 👍 0 🔁 0 💬 0 📌 0

Not yet, but I'm aware of it ;)
Looking foward to look into it ☕

21.11.2024 12:20 👍 1 🔁 0 💬 1 📌 0

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

21.11.2024 11:52 👍 2 🔁 0 💬 1 📌 0
Angular Resource API - Everything You Have To Know (so far)
Angular Resource API - Everything You Have To Know (so far) YouTube video by Decoded Frontend

Also if you prefer to watch instead of reading:
youtu.be/W7-lsoL-Gi8?...

20.11.2024 18:59 👍 1 🔁 0 💬 1 📌 0