Giter VIP home page Giter VIP logo

Comments (4)

treshugart avatar treshugart commented on May 25, 2024

As a side note, in a separate pr I'm trying
webreflection/document-register-element which is semantically versions and
supports v0 and v1.

On Fri, 26 Aug 2016, 03:18 Joshua Nelson [email protected] wrote:

Unfortunately there are breaking changes. I tried upgrading to the latest
sha, which was webcomponents/webcomponentsjs@393764a
webcomponents/webcomponentsjs@393764a
, but it failed.

My attempt to upgrade: #3
#3
The failed upgrade in skatejs: skatejs/skatejs#748
skatejs/skatejs#748
My revert of it: #4 #4

For now I'm going to have to fork webcomponents.js and
skatejs-web-components so that I can get the fix that I wanted out of this.
We should be able to upgrade eventually, but the failure is due to a
breaking change (disconnected / attached were renamed to connected /
disconnected in v1 webcomponents, so upgrading would mean skate 2.0, which
I imagine would be unwise while we're waiting on the v1 spec).

@treshugart https://github.com/treshugart , I'm just going to depend on
my forks for now, but if you have an opinion of what we should do, I'd love
to know.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#5, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAIVbKzmir4yM4vYUaxVmG8V6odqRsReks5qjc5ygaJpZM4JtTXY
.

from web-components.

thepian avatar thepian commented on May 25, 2024

I'm confused. Is web components just not concerned with providing an interface? I'm just dipping my toe in, but so far my conclusions are:

  1. x-tag, doesn't work since it cannot put the methods on the custom element
  2. webcomponents.js doesn't provide the window.customElements interface or document which one to use
  3. skate.js uses odd dependencies to web components fork

And we are supposed to make real software based on this. It really looks to me like the best strategy for developing anything is to leave this for another year or two until more browsers support it. If there is no stable API that will use the native support where possible without introducing bloat(yes I'm looking at you Polymer), then it's just a proof of concept.

from web-components.

treshugart avatar treshugart commented on May 25, 2024

skate.js uses odd dependencies to web components fork

There are active PRs into their V1 branch that will get pulled in. As I stated in your Skate issue, I'm working on pulling in webreflection/document-register-element but there is a blocking issue with old IE.

Skate itself is 100% stable (and uses native where available). Its only the polyfill situation that is temporarily in flux. I anticipate it being resolved in the next week or two. Until then I'd recommend pulling in the polyfills yourself for the time being. Sorry for the inconvenience.

from web-components.

treshugart avatar treshugart commented on May 25, 2024

Closing as we've now released the one with the versioned polyfill. @thepian we'll be releasing a Skate version soon that supports this new version and also IE 9 and 10.

from web-components.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.