Open mmorgan4x opened 1 month ago
allow explicitEffect to accept a non-array signal parameter
const count = signal(0); explicitEffect(count, t => { console.log(`count updated ${t}`) });
instead of
const count = signal(0); explicitEffect([count], ([t]) => { console.log(`count updated ${t}`) });
@JeanMeche should we add this? This came up during initial exploration phase btw, but we decided against it.
allow explicitEffect to accept a non-array signal parameter
instead of