Describes an effect:
A function creating a context where signals can be observed.
Returns a function used as cleanup when the effect is cleared or on the verge to run again due to signal changes.
Describes an effect:
A function creating a context where signals can be observed.
Returns a function used as cleanup when the effect is cleared or on the verge to run again due to signal changes.