Live data from Hacker News

Plans for the Next Iteration of Vue.js

medium.com

91–100 of 152 posts

Re: Plans for the Next Iteration of Vue.js

#91
I’m somewhat sad that there’s so much focus on HOW related improvements and less on the WHY. What I really like about Vue was that it was one of the first tools where it’s whole MO was to get out of the way of the process of creation instead of being very in-your-face about specific features and techniques . It was iOS while react was Android.

I hope that It’s initial success bringing it more mainstream doesn’t cause enterprise pressures to make the project lose focus on this core.

Not having to deal with weird tricks for certain types of data mutations is quite nice though.

Re: Plans for the Next Iteration of Vue.js

#92

The ability to split Vue components into multiple (html, ts, scss) files in a single directory would be nice. I dislike the single file approach and it makes things like having nice syntax highlighting and completion more complex than it should be.

I've been doing that for years in one of my projects. Just reference the CSS and JS files in the .vue file (e.g. ) instead of inlining them in their respective tags. How else would you want to do it?

Re: Plans for the Next Iteration of Vue.js

#94
post #13
post #8

Written in TypeScript and with TS type support in mind! That was the thing missing for me to look at Vue, looking forward to the release.

I never had a time to take a look at type script. What is the benefit of adding static typing to an inherently dynamically typed language? As I understand, they don't get any performance improvement from that, as the browser still runs it in JS vm?

I have seen very little value in dynamic languages in practice. Cool, you can pass any old thing into this function I wrote. Well, no, you can't really, because the function has assumptions about the structure of the things that it can operate on. So then I've got to start checking that the foo that you gave me has the kind of properties of a foo that I care about accessing, and you've got to know when you construct your foo that I care about those things. With a typed language, those assumptions are made explicit, whereas in dynamicland they remain implicit, and I've got to make runtime checks to verify that this foo can be bar()'d, and you have to determine, from docs, or reading the source, or trial and error, that I'm expecting it to be bar()-able, or things go sideways. Also, we have to agree on naming, down to pedantic stuff like case-sensitivity, so that if you give me a Bar()-able foo when I expect a bar()-able foo, we don't, in the best case, fail loudly, or worse, just do nothing. Not farming this kind of tedious drudgework off to a compiler or type-checker seems really stupid, especially nowadays when JS is already run through a compiler like babel as a preprocessing step anyway.

If anything, I think most typed languages don't go far enough in making assumptions about their data explicit, and there is far too much primitive obsession. In an ideal world, I would not have to ever refer to documentation to understand what subset of inputs from the type that is declared on a function parameter are actually valid - a function that only handles integers from 0 to 100 would raise a compiler error if I tried to pass it 200, and whole classes of runtime errors would become impossible, and vast swathes of trivial unit testing harnesses would be irrelevant.

Re: Plans for the Next Iteration of Vue.js

#95
post #22

Earlier quoted context omitted.

>Is there any way to do stuff differently with Vue or should I just stick with React? On technical side, not much. But there are much more to it than just technical stuff. Angular was great for big, organized teams, with spec driven development. Separation of concerns and work was also great - having junior devs concentrate on templates and to spec written directives, while seniors deal with something more arcane. Bu…

In China, companies are reluctant to use React. How come?

It's made by Facebook

Re: Plans for the Next Iteration of Vue.js

#96

Sounds great, but why bother with the added work supporting IE11 if Vue 2.x can be used with IE11? Especially that time continues to fly until 3.x is released, and IE11 is replaced with EDGE already. edit: I am guessing this has to do with having one codebase for projects that move to vue 3 and still need support for IE1.. makes sense. Hmm.

Unfortunately, IE11 is still quite prevalent in large enterprise organization with IT departments that control which browsers are installed on desktops across the org. There's a lot of bureaucracy and legacy apps to contend with before making a change to swap out a browser. For example, IT might first have to certify that a browser change would not break usability with any number of old internal company web apps.

There are also quite a number of Win32 apps with embedded browsers that are essentially running IE11. Depending on what Win32 control/plug-in was used to embed a web browser, those embedded web browsers might be stuck on IE11 indefinitely (until the authors of the Win32 app re-compile with an embedded web browser that uses Edge).

Re: Plans for the Next Iteration of Vue.js

#97
post #88

I'm really worried about the wholesale move to Typescript in so many projects. To me it's the new coffeescript combined with the verbosity of J2EE. Yes it's corporate sponsored, so hopefully will be maintained indefinitely - but I like JavaScript, and Typescript isn't JS. What's worse is so many developers using their own slightly tweaked versions of JavaScript. I spent a solid day this week trying to get decorators…

Yep, this is a huge problem in the ecosystem right now. The irony is that JS, an interpreted language, is becoming slower to compile than some of the newer compiled language (i.e. golang, which compiles to machine code and therefore avoids all compatibility issues).

Golang doesn't avoid all the compatibility issues. On the contrary, there's a ton of Golang that won't run on anything but Linux.

Re: Plans for the Next Iteration of Vue.js

#100

I'm really worried about the wholesale move to Typescript in so many projects. To me it's the new coffeescript combined with the verbosity of J2EE. Yes it's corporate sponsored, so hopefully will be maintained indefinitely - but I like JavaScript, and Typescript isn't JS. What's worse is so many developers using their own slightly tweaked versions of JavaScript. I spent a solid day this week trying to get decorators…

Typescript is a strict superset of JS and everything is additive. You don't have to add a single character beyond normal JS if you don't want to, but can still benefit from the compiler providing intellisense and refactorings.
Post reply on HN