Reactive Change Detection

How can runtime know about changes? π Polling: Periodic reconciliation π Events: Occurrence of an event π€ Links: List of subscribers π Polling States store only values and thatβs it. Runtime periodically checks the current value with the previous one. And if they differ, it triggers reactions. // sometimes if( state !== state_prev ) reactions() This is how Angular, Svelte, and React work, for example. The problem with this approach is that for every sneeze, a lot of work is done, only to find out that almost nothing has changed. It may seem to you that ordinary comparison is a
