Hacker News new | ask | show | jobs
by SkiFire13 656 days ago
Properly implemented signals are more complex than the observer pattern, since they have to prevent duplicating updates if more than one dependency changes. They also fundamentally change the way you use them compared to observers, thanks to automatically subscribing to updates to their dependencies and propagating the updates to the dependents. Effects resembles observers, but you would generally avoid them when using signals unless necessary.