WICG / observable

Observable API proposal
https://wicg.github.io/observable/
Other
563 stars 13 forks source link

Pick an initial set of combinators and defend them #9

Closed domenic closed 1 year ago

domenic commented 1 year ago

The explainer claims

In any case it is important to realize that operators are not the meat of this proposal, as thy could conceivably follow along at any time provided there is support for the actual native Observable API, which is what this proposal principally focuses on.

I disagree. Without a good set of combinators, observables wouldn't be worth shipping. If you're pulling in a combinator library anyway, then you might as well pull in an observable library.

I think this explainer should pick an initial set of combinators and defend them. I think the list drawn from the iterator helpers proposal is good. You should then:

domfarolino commented 1 year ago

This is great advice, in particular the last point about following TC39's lead and the corresponding examples, thanks! I think I've incorporated this feedback into the explainer with the last several commits, so I'll close this now.