« * K @duncanfaulkner.bsky.social

Duncan Faulkner @duncanfaulkner.bsky.social

2026-11-27 11:00 UTC

Don't expose a WritableSignal from a service. Keep it private and expose items = this._items.asReadonly(). Components can read and react to it, .set() doesn't compile, and every change goes through one method.

1 likes, 0 reposts, 1 replies

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