4 ms·
First of all, this new API has relatively little to do with performance. The main performance gain in Vue 3 comes from a new template compilation strategy invis
by EvanYou 7y ago
First of all, this new API has relatively little to do with performance. The main performance gain in Vue 3 comes from a new template compilation strategy invisible to users.
Second, I think it is over-simplifying the issue by equaling the new API with Complexity. The RFC can be tough to grok because it is dense; but actually looking at some examples will probably show you that the new API really isn't about "complexity": https://gist.github.com/yyx990803/762ec427882a61be3e4affe02f8af555 https://gist.github.com/yyx990803/762ec427882a61be3e4affe02f...
Vue has a wide range of users. I honestly don't quite get how introducing an optional API can be an insult - because we clearly see some use cases we ran into can be more elegantly solved with the new API. Maybe you haven't run into them personally, but that doesn't mean your use case is "inferior" - we are all dealing with different types of applications. However, I think it would be a real insult if you think Vue will never have a use case that is complex enough to warrant these advanced APIs.
Regarding your question: feel free to stay with the current API for as long as you wish. As long as the community feels there's a need for the old API to stay, it will stay. The only one that can make the decision to switch to the new API is yourself.
- brylie 7y agoI also appreciate Vue's simple elegance. It is a breath of fresh air, amidst all the dust and commotion of the JavaScript ecosystem's tooling bloat and constant reinvention, that Vue can just be dropped in to ant standard HTML page. Meteor.js, another project with which you are familiar, started with a similar promise of developer simplicity, but it was subsumed and abandoned in favor of the "Facebook-level scalability for all apps and at all costs" mantra that has swept through the JS community. Regardless of the nuances of this RFC, please remember the value of simplicity as Vue evolves.
- brylie 7y agoAnother article, currently trending on HN, describes how we should strive to reduce cognitive load and simplify the development process: > A good platform acts as a force multiplier for [development] teams, helping them to focus on core domain functionality through attention to the developer experience, ease of use, simplicity of tooling, and richness of documentation. > https://techbeacon.com/app-dev-testing/forget-monoliths-vs-microservices-cognitive-load-what-matters https://techbeacon.com/app-dev-testing/forget-monoliths-vs-m...
- tuesdayrain 7y agoIn my opinion the old API looks significantly better in every every example here. I really hope you guys figure out a way to better preserve that original simplicity. It was what drew me to Vue as a clear winner in the sea of JS frameworks.
- cush 7y agoWhat better way to preserve it than to just keep it, and not change it?
- indalo 7y agoyour comment lead me to take a look and I have to say I agree. it looks denser but feels more cryptic. sure hope it remains optional.
- crimsonalucard 7y agoVue is not a clear winner. Clear winner to you, but not a clear winner overall.