Benjamin Gruenbaum
Benjamin Gruenbaum
@JasonMatthewsDev have you seen how reactivity systems like Vue and MobX works? Basically: - You have an object - let's say `o` and a proxy/getter. - When you render a...
> There's just something so pure about a vanilla function with vanilla js variables manipulation that I really like. The reason I like those patterns is precisely because it's just...
> state updates often include changes to multiple properties and if we were using a proxy, it’s not clear how to coalesce assignments so that only one update were triggered...
Also, this made me laugh > I considered using a proxy-based API, but I typically try to avoid proxies because I dislike metaprogramming Coming from someone working on a framework...
> What exactly is the motivation of this discussion? I want to use Crank and I don't want to use an API where writing bugs is easy. > How likely...
@gnz00 what are you using instead?
Hey, a few of us have been discussing this a lot and we think there needs to be a way for signals to "follow" other signals. This is because making...
@MattiasBuelens hey :] Note your implementation of `followSignal` does not work in case the signal is _never_ aborted. It works for the "operation was aborted" case but not for the...
@wanderview just to add to what you're saying, when you [follow](https://source.chromium.org/chromium/chromium/src/+/master:third_party/blink/renderer/modules/cache_storage/cache.cc;l=1089;drc=ae1a631ceaf488f5e9cb55755de32b6a505b4b1e) you basically use the capability we're asking for that isn't exposed to userland. In userland, you can't chain signals...
Re: API - I think the simplest API would probably be a constructor argument: ```js const childController = new AbortController(parentSignal); // creates a linked AbortController ``` I'd love to see...