Twitch Dev Tracker

(2020) Why do signals seem to be discouraged?

This thread was added on May 19, 2020, with posts from itmightbedave.

Original Post

I have seen, mainly on SO, that using signals is usually discouraged, why is this? They seem to be very useful when i have used them so far!

Signals aren’t discouraged, but it’s easy to make things a signal that probably shouldn’t be. In my experience, this comes up a lot when figuring out how to handle logic that shouldn’t be in a view but is intrinsic to how my models relate to each other. There are lots of articles on this.

Because of that, it’s a good practice to think hard about whether there are other ways to do the same thing before resorting to signals.