News for hackers. Stuff that matters.
Re:Vue RFC: Expose logic-related component options via funct... by tnolet on Thursday June 20, 2019 @06:22PM (#20237997)
Maybe just call it Nue.js or something
Re:Vue RFC: Expose logic-related component options via funct... by dmix on Thursday June 20, 2019 @06:46PM (#20238151)
I don’t see how changing the name helps over a version number.

This is changing the syntax for setting up components, somewhat similar to the class API difference, but it’s still fundamentally the same library. It’s largely just moving functions store on the root object into the setup() function while using a more function-y tree-shaking supporting style.

It’d probably cause as much confusion as it helps.

Re:Vue RFC: Expose logic-related component options via funct... by viraptor on Thursday June 20, 2019 @07:20PM (#20238425)
Because it's essentially a different project at that point. All stackoverflow answers become confusing instead of helpful for example.

Rust went through that around version 1 where a massive number of answers were updated to match new release and many got "this is not how it works anymore" comments.

Re:Vue RFC: Expose logic-related component options via funct... by gustojs on Saturday June 22, 2019 @10:28AM (#20249751)
Making it two separate project means the library authors have to write two separate libraries using two separate API - the more flexible and easier to maintain (written among others with library authors in mind) function API and the object API that they often have to fight against right now.

That would be a huge problem. Right now they can just use the API they want and it will work for all the users regardless if they use objects, functions or classes.

Re:Vue RFC: Expose logic-related component options via funct... by dmix on Thursday June 20, 2019 @10:49PM (#20239461)
I see, I don’t help people often with programming problems so I’ll defer to you guys.
Re:Vue RFC: Expose logic-related component options via funct... by victor9000 on Thursday June 20, 2019 @07:05PM (#20238314)
You would get Google answers that are specific to your current version vs wondering if it applies to Vue 1, 2, or 3.