linkedSignal(): Beyond the Basics

preview_player
Показать описание
In this tutorial, we’re diving into advanced features of the linkedSignal primitive in Angular. Learn how to compare new and previous signal values to create smarter, more dynamic state updates. Whether you're handling form controls or other stateful components, this technique will probably make your Angular apps more efficient and user-friendly.

------------------------------------------------------------------------------

🔗 Demo Links:

------------------------------------------------------------------------------

📚 Additional Resources:

------------------------------------------------------------------------------

📖 Chapters:
0:00 – Introduction
0:28 – Setting the Stage: Inside the Current Demo Application
2:28 – Tracking the Selected Shipping Option With Linked Signal
4:43 – Smarter Linked Signal Resets: Updating Only When Values Change
6:32 – Conclusion

------------------------------------------------------------------------------

#angular #angulartutorial #angulartraining
Рекомендации по теме
Комментарии
Автор

love it! "Beyond the Basics 2" with more complex example of LinkedSignals? rxResource with a hard example? 😀🙏

juliojimenez
Автор

Hello Brian,
Is it possible to return some sort of function in the computation?
Concrete case: I want to filter the selectable dates in a MatDatePicker using the matDatepickerFilter based on the value of a particular signal.
Of course, the filter is of type DateFilterFn<any> and I can't seem to output the exact type.
Is the linkedSignal a good candidate for this, or should I use a computed instead ?

RupOase