Module effect

Module effect 

Source

Structsยง

Effect
A reactive effect that runs a closure whenever its dependencies change.