Hacker News new | ask | show | jobs
by mlevental 2824 days ago
>At no point did I feel I had the slightest clue what was going on and it felt like I wasn't supposed to ask

what exactly do you mean? you didn't understand the templating language? you didn't understand the data model? you didn't understand webpack? what does "i didn't have the slightest clue what was going on" even mean? do you know what gcc does when it compiles your C code to assembly? is that the resolution at which you'd like to know "what's happening" ???

1 comments

It's hard to explain. I know how the web works. I used to write HTML in Notepad many years ago. With Vue I just didn't know how the stuff I was writing was turning into the stuff that the web browser actually sees. React is just a JS library that you can add on to your HTML and CSS and makes sense in the standard model.

I guess with Vue I just don't feel in control any more, and that's a big no for me.

It's usually React that people complain about.

If you like jQuery, you should like vue. Cause, you can use vue just by adding a script tag in your web page.

You don't need command line, web pack or any other tool to use most of vue.

You can do that with React too.
React is a great framework, the only thing I couldn't find is a great solution to have runtime templates. I know they're not optimal but for some small projects it's better to eliminate the build step. Of course no one in the right mind would manually write render functions.
I figured that's what he's doing with React. He probably stumbled upon complicated Vue tutorials.

edit: Sorry. Didn't know I was replying to you.

If you're happy with React, by all means continue with it. If you want to understand Vue, then get simpler articles/videos and ignore the unnecessarily complicated ones.

I guess with Vue I just don't feel in control any more, and that's a big no for me.

I understand your feeling, even though I don’t work in React.

I worked for a company that brought in a new guy who was all hung-ho on Vue as the new hotness. He managed to convince the project manager that we had to convert the entire site to Vue.

I was never able to wrap my brain around the fact that so much of it was opaque. You just had to trust that A would lead to B would lead to C. And when it didn’t, even the Vue evangelist couldn’t untangle it.

As I’ve explored more and more languages and frameworks over the years, some I immediately grok, and others just never make sense. I think some programmers, brains are just wired differently than others. It’s too bad that there’s this undercurrent of tribalism and brand loyalty in the industry.

I understand that because of some of Vue default conventions (like webpack and single file components). But i'm building a simple architecture to build Vue apps without the need to compile your scripts, you can check it out here:

https://unpkg.com/@arijs/vue-generator/outra/pagina/index.ht...

https://github.com/arijs/VueGenerator