So far my Vue.js experience has been great. Even though I don't particularly enjoy front-end development and the tools and techniques I'm supposed to use for them, Vue.js has been a breath of fresh air between my frustrations with HTML, Javascript, npm, CSS, HTTP and all the other things that are needed to stitch everything together. It really is a great framework. The one thing that does still bug me these days is t…
are there any tutorials that would help a beginner start on that front?
Vue.js 2.1 Released
21–30 of 126 posts
Re: Vue.js 2.1 Released
#22Re: Vue.js 2.1 Released
#23Re: Vue.js 2.1 Released
#24Re: Vue.js 2.1 Released
#25Earlier quoted context omitted.
You can use JSX to write your render functions in Vue [0]. It's opt-in as the Vue community views them as overkill in the usual case. Personally, I appreciate having the intuitive approach for templating as the default for people who don't share my encyclopedic knowledge of web development. They can more easily follow along and contribute. [0] https://vuejs.org/v2/guide/render-function#JSX
I see :) > I appreciate having the intuitive approach for templating as the default for people who don't share my encyclopedic knowledge of web development I always saw it the other way around, haha :) Why should I learn some template language, when JS can do the job and I already know it.
If you admit that JSX is a superset of JS then the downsides become readily apparent. Many will still choose JSX and there's nothing wrong with that, but the argument isn't "why would I use X when Y is better".
Re: Vue.js 2.1 Released
#26So far my Vue.js experience has been great. Even though I don't particularly enjoy front-end development and the tools and techniques I'm supposed to use for them, Vue.js has been a breath of fresh air between my frustrations with HTML, Javascript, npm, CSS, HTTP and all the other things that are needed to stitch everything together. It really is a great framework. The one thing that does still bug me these days is t…
I'm writing an easy to understand tutorial with vuejs2 here https://github.com/thewhitetulip/intro-to-vuejs
Re: Vue.js 2.1 Released
#27Nice, I love Vue.js it is light weight yet fulfill 90% of the needs of a large SPA without a third party language, some bureaucratic dependency injection and without getting in the developer's way by mandating this or that build tool. But competition is good so I'm glad there is a front end framework for everyone out there.
Re: Vue.js 2.1 Released
#28What about the SEO and search engine rendering to custom HTML elements like in Vue.js components? is it okay or affects SEO?
Re: Vue.js 2.1 Released
#29Earlier quoted context omitted.
I see :) > I appreciate having the intuitive approach for templating as the default for people who don't share my encyclopedic knowledge of web development I always saw it the other way around, haha :) Why should I learn some template language, when JS can do the job and I already know it.
JSX is not JavaScript. If its not in a spec that is ever going to be implemented by a JS runtime, like a browser or Node.js, then it's not JavaScript. It's a superset of JavaScript. If you admit that JSX is a superset of JS then the downsides become readily apparent. Many will still choose JSX and there's nothing wrong with that, but the argument isn't "why would I use X when Y is better".
Re: Vue.js 2.1 Released
#30Nice, I love Vue.js it is light weight yet fulfill 90% of the needs of a large SPA without a third party language, some bureaucratic dependency injection and without getting in the developer's way by mandating this or that build tool. But competition is good so I'm glad there is a front end framework for everyone out there.
The sentiment 'competition is good' in the context of Javascript universe is a bit ironic since that's what led us to the recent fatigue grievance.