Тёмный

The most cursed Angular feature I've ever built 

Joshua Morony
Подписаться 77 тыс.
Просмотров 6 тыс.
50% 1

Опубликовано:

 

5 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 8   
@JoshuaMorony
@JoshuaMorony 3 месяца назад
Next newsletter goes out tomorrow, feel free to sign up: mobirony.ck.page/4a331b9076
@MonaCodeLisa
@MonaCodeLisa 3 месяца назад
that is a really cool component 😃 thank you for sharing, very valuable information 👍
@larshanisch
@larshanisch 3 месяца назад
Like the BehaviorSubject which is combineLatest with another observable and mapped to the first value of the tuple to trigger a reload or similar. 👍
@MrSodem
@MrSodem 3 месяца назад
Why won't you use an signal.update, instead of mutate, aren't they somehow basically the same?
@xDivisionByZerox
@xDivisionByZerox 3 месяца назад
Exactly what I thought as well. Joshua propably missed the updated API when switching to a newer version. At least thats my guess.
@JoshuaMorony
@JoshuaMorony 3 месяца назад
In this case I might be able to get away with just update, I'll need to dive into the actual implementation of update more to verify assumptions I am making, but my understanding is that if we were to rely on update for Maps then we would be creating new instances of the Map rather than sharing/mutating the same underlying Map in memory - which is why I am using the createNotifier pattern which facilitates mutating something and then notifying of that mutation. The old mutate method served the role of mutating an existing value and notifying rather than returning a new value like update. But again, I could be making some incorrect or outdated assumptions here.
Далее
Deferrable Views - New Feature in Angular 17
15:31
Просмотров 22 тыс.
Should we really NEVER subscribe in Angular apps?
13:22
LiveView JS: The Comprehensive Guide
25:42
Просмотров 2,6 тыс.
The easier way to code Angular apps
9:54
Просмотров 67 тыс.
The Most Important Design Pattern in React
35:04
Просмотров 62 тыс.
React visually explained: 'use client'
15:57
Просмотров 43 тыс.
Use Arc Instead of Vec
15:21
Просмотров 147 тыс.
The perfect use case for RxJS... violins?
9:26
Просмотров 8 тыс.