« * K @dummdidumm.bsky.social

Simon H @dummdidumm.bsky.social

2026-11-16 21:49 UTC

How does that work in ReactiveScript btw? Haven't seen an example where a source/derived is passed into some function - does it also have to happen via a closure? e.g. function doubleIt(getCount) { return () => getCount() * 2; } source count = 0; let double = doubleIt(() => count); d = double();

A reply in a thread.

3 likes, 0 reposts, 2 replies

3 Next post4 More from @dummdidumm.bsky.socialBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup