On Mon, Nov 14, 2016 at 5:44 AM, Andres Galante <[email protected]> wrote:
> Hey Jonathan, > > Vue sounds really intresting, yesterday I've read the best tweet about it: > > https://twitter.com/sarah_edo/status/797574272692748288 > I follow Sarah too, and saw that tweet, it's certainly quite the endorsement coming from her! > I am not a javascripter, but I wonder how the web components story aligns > with Vue. > >From what I can tell (I also can't call myself a JavaScript or even a web guy), Vue borrowed the syntax from Web Components to form their *.vue component files (though it's not mandatory - you can define everything using the JavaScript API). I think they borrow concepts heavily from a bunch of other frameworks, which is a really good sign for me: it means they're looking around the ecosystem, figuring out what works, and adopting it. So you can author Vue components with the ease with which you author Web Components, Polymer, or Angular templates, but everything gets compiled down to fast JavaScript (similar to React). I think the main advantage right now is practicality: Web Components are awesome, and I believe they're the future of the web, but it'll be some time before the future gets here (many folks still use IE8 or IE9, not to mention older mobile devices that no longer receive updates). So Vue lets you write Web Component things but in a way that's compatible with any ES5-supporting browser (IE9+), and in a way that performs well (the comparison mentions that Polymer works on IE9+ using polyfills, but is very slow as a result). > On Sun, Nov 13, 2016 at 3:42 PM, Jonathan Yu <[email protected]> wrote: > >> Hello PatternFlyers! >> >> I know, I know - another year, another whiz-bang JavaScript framework >> <https://javascript-game.firebaseapp.com/> (no, really, try this game) - >> but I've been playing with Vue <https://vuejs.org/> (2.0 was just >> released a few months ago >> <https://medium.com/the-vue-point/vue-2-0-is-here-ef1f26acf4b8>) and >> everything I've read about it seems pretty promising so far. >> >> Despite being a relatively young project (starting in 2013), its tooling >> support seems fairly good, and there's quite an active ecosystem, including >> a port of Bootstrap's components called VueStrap >> <http://yuche.github.io/vue-strap/>. The design borrows from various >> other initiatives, taking inspiration from Web Components, Polymer, and >> React, among others. If you're not familiar with Vue, their documentation >> has a great comparison with other technologies >> <https://vuejs.org/v2/guide/comparison.html>. >> >> In the summer, Dana Gutride asked if Web Components are in the future >> for PatternFly >> <http://developers.redhat.com/blog/2016/08/09/are-web-components-in-the-future-for-patternfly/>, >> and I wanted to start a discussion about Vue. What would it take to get a >> Vue-ified PatternFly? Would anyone be interested in trying this out with >> me, as a little hobby project? (I've got lots of enthusiasm and some >> energy to put into this, but not much web-fu, so I could use a mentor!) >> >> Bonus content: a bunch of CSS-only components >> <https://twitter.com/Real_CSS_Tricks/status/797799175442182144> (what is >> this sorcery?!) >> >> Cheers, >> >> Jonathan >> >> -- >> Jonathan Yu / Software Engineer, OpenShift by Red Hat / Follow me on >> Twitter @jawnsy <https://twitter.com/jawnsy> >> >> *“Restlessness is discontent — and discontent is the first necessity of >> progress. Show me a thoroughly satisfied man — and I will show you a >> failure.”* — Thomas Edison >> >> _______________________________________________ >> Patternfly mailing list >> [email protected] >> https://www.redhat.com/mailman/listinfo/patternfly >> >> >
_______________________________________________ Patternfly mailing list [email protected] https://www.redhat.com/mailman/listinfo/patternfly
