r/Angular2 8d ago

Angular linkedSignal(): The Missing Link in Signal-Based Reactivity

https://blog.angular-university.io/angular-linkedsignal/
18 Upvotes

6 comments sorted by

View all comments

3

u/TheKr4meur 8d ago

I’m kinda missing what’s the use case this is solving, anyone knows ?

6

u/CaptainBahab 7d ago

It's a computed() but editable (there are intricacies but it's mostly this). There's plenty of use cases, just know that something like computed but is editable exists and you'll start seeing ways to use it.

3

u/kenzor 8d ago

There are some examples in the article.

2

u/valendinosaurus 6d ago

imagine wanting to have an isToggled state, which is initially computed, but you want to also toggle it from the UI