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

Minimal standalone polyfill of latest spec? #107

Closed
josephrocca opened this issue Feb 1, 2024 · 2 comments
Closed

Minimal standalone polyfill of latest spec? #107

josephrocca opened this issue Feb 1, 2024 · 2 comments

Comments

@josephrocca
Copy link

Is there a minimal script that I can import from jsdelivr/unpkg/etc. to start playing around with the features proposed in this spec? Including element.on prototype functionality, rather than just the observable primitives.

I'm not involved in any of the spec work/discussion here at all, and I haven't used any of the packages listed in the "Userland libraries" section. It looks like they're either just providing the primitives, or are bundled up with a lot of stuff that's unrelated to this spec.

If someone can point me toward a way to easily test the full experience that this proposal proposes, that would be great.

@domfarolino
Copy link
Collaborator

@benlesh is working on a reference implementation of this specification in #42, but it hasn't been active in a little bit (it's a hard thing to get just right).

One way you can test something is by navigating to chrome://flags/#observable-api in Google Chrome, and enabling the feature manually in your browser. This will give you access to whatever the latest experimental version of Observables has made it to your browser. Note that most of the operators have not been implemented yet though!

@domfarolino
Copy link
Collaborator

Since I've closed #42 for inactivity, I would recommend sticking with chrome://flags/#observable-api in Chromium to experiment with the Observable API in its latest form.

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

2 participants