Get free YouTube views, likes and subscribers
Get Free YouTube Subscribers, Views and Likes

How do I test Signals (signal / computed / effect)

Follow
Rainer Hahnekamp

Signals as lightweight "reactive primitive" will shape the future of Angular applications.

At the time of this recording, signal() and computed() are stable, and effect() is in "developer preview".

We see increasing integration of Signals into the Angular API, and there should be no more reason to hold us back from using Signals.

What are the requirements?
First, we must understand Signals' behavior, which means the glitchfree effect (aka push/pull). Second, we need to be able to test them.

And that's exactly what this video covers.

The GitHub repository is available at: https://github.com/rainerhahnekamp/ho...

A written version is available at: https://dev.to/thisisangular/howdo...

0:00 Introduction
0:05 Application Demo
2:10 Testing with Change Detection
11:10 Testing without Change Detection
19:47 Farewell

posted by estravia64