Signals in JavaScript

https://preactjs.com/guide/v10/signals

Really interesting ^^

Basically it's a library agnostic way of handling reactivity.

💡 Tip: Deriving as much state as possible ensures that your state always has a single source of truth. It is a key principle of signals. This makes debugging a lot easier in case there is a flaw in application logic later on, as there are less places to worry about. https://preactjs.com/guide/v10/signals#deriving-state-via-computed-signals