6 ms·
Author here - thanks for the submission, I was actually planning to do it tomorrow :) Anyway, for those of you who are not familiar with Vue, here's a blog pos
by EvanYou 11y ago
Author here - thanks for the submission, I was actually planning to do it tomorrow :)
Anyway, for those of you who are not familiar with Vue, here's a blog post explaining why it's worth taking a look at: http://blog.evanyou.me/2015/10/25/vuejs-re-introduction/ http://blog.evanyou.me/2015/10/25/vuejs-re-introduction/
- timetraveller 11y agoGreat work!
- rrrhys 11y agoAlso Laracasts has a great series on VueJS - mentioning it since it got me excited about VueJS and front-end JS frameworks in general. https://laracasts.com/series/learning-vuejs https://laracasts.com/series/learning-vuejs
- mzaccari 11y agoExcellent blog post to introduce the vue.js concepts (http://blog.evanyou.me/2015/10/25/vuejs-re-introduction/ http://blog.evanyou.me/2015/10/25/vuejs-re-introduction/). I was able to get up and running pretty quickly with a good understanding of the tool. Thank you for putting this together.
- ajisai 11y agoNice work! Please tell me the meaning of `Evangelion`... Is the japanese anime?
- iKlsR 11y agoYes, the releases are anime themed.
- lemevi 11y ago> More importantly, there’s no need to worry about calling $apply in a timeout, or calling setState(), or listening to store events Calling `setState` is not a big deal and neither is dealing with stores. It's very simple and you keep your state separate from your HTML. At this point I probably can't do web development without JSX and not be miserable. The days of separate templates are hopefully forever behind me. Not trying to dismiss your very hard work I'm sure, but React has taken us into the future. Maybe with esperanto you could add templates into your own JS or make it work with JSX and react-dom.
- sdegutis 11y agoEvan: I'd love to know your response to lemevi here. In particular, what you consider the strengths and weaknesses to be in both your approaches, and why you prefer yours.
- andrezsanchez 11y agoIt would be neat if Facebook had implemented JSX as a framework-independent transform rather than a React-only one, that way other frameworks could use the pretty XMLish syntax rather than strings or JS objects.
- tiles 11y agoThere are alternatives though, like JSX implemented in sweet.js: http://jlongster.com/Compiling-JSX-with-Sweet.js-using-Readtables http://jlongster.com/Compiling-JSX-with-Sweet.js-using-Readt...
- rvikmanis 11y agoIt has: https://facebook.github.io/jsx/ https://facebook.github.io/jsx/
- andrezsanchez 11y agoEmphasis on "implemented" haha. At least this makes it more open since someone can come in and make their own implementation. As it currently stands I don't think you can use Facebook's implementation to transform JSX to a framework-agnostic object.
- legutierr 11y agoVery cool, Evan. Scoped style tags are a very cool feature. Could I ask you to describe how you implemented this, how you made it work?