Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Observable API #118

Closed
domfarolino opened this issue Sep 6, 2023 · 4 comments
Closed

Observable API #118

domfarolino opened this issue Sep 6, 2023 · 4 comments

Comments

@domfarolino
Copy link

Introduction

Event handling on the web platform is done imperatively, often with nested callbacks and a difficult-to-read flow of events. Observables offer a declarative, ergonomic, and composable way of handling events dispatched from an EventTarget.

Read the complete Explainer.

Feedback (Choose One)

I welcome feedback in this thread, but encourage you to file bugs against the Explainer.

@domfarolino domfarolino changed the title Observable Observable API Sep 6, 2023
@domfarolino
Copy link
Author

I am working on a draft prototype of this API in Chromium, but have not yet sent an Intent to Prototype out. Does that count as enough support to begin to move this to WICG? @benlesh should be able to provide industry support for this proposal too.

@benlesh
Copy link

benlesh commented Sep 8, 2023

There is a lot of interest in this proposal from the community and from other library authors. Anecdotally:

  1. A tweet linking this issue did quite well: https://twitter.com/BenLesh/status/1699460146219339785
  2. More than one company has offered (unsolicited) sponsor my trip to TPAC to discuss this (I was paying out of pocket), for no other reason than they'd love to have it in the platform.
  3. The initial issue on WHATWG got a lot of attention as well: Improving ergonomics of events with Observable whatwg/dom#544 (comment)
  4. A previous tweet about the repo with the proposal got a good amount of traction as well: https://twitter.com/domfarolino/status/1684921351004430336... which included a lot of excitement from influential web developers and framework implementors including Svelte and SolidJS

@cwilso
Copy link
Member

cwilso commented Sep 8, 2023

This seems like enough support to move into WICG org. Feel free to transfer the repo to me and I will move it.

@domfarolino
Copy link
Author

The repository has been moved to https://github.com/WICG/observable, so I think we can close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants