An "RFC" process (request for comments) was introduced for the Vue project last year to give the community a say about proposed new features. A handful of RFCs have since been released and have been relatively controversy-free.
But this week we've seen the RFC for the proposed "function-based API" completely divide the Vue community, with heated discussion spilling out across GitHub, Reddit, Hacker News, and elsewhere on the web.
Personally, I love the proposed API, as it provides an elegant and logical way for different component "topics" to be cleanly extracted into separate functions or files for better organization and reuse.
But of course, there's a cost for introducing an additional API - we take a step away from simplicity and towards complexity. Every Vue user will have to bear the mental burden of knowing at least a little bit about both APIs whether they intend to use them both or not.
For you and I, this really isn't a big deal. Where the cost may be felt more, though, is for "average" users who get little return on investment from learning a new API that mostly exists to improve scalability for logic composition, limitations on type inference, and other power-features they may never need.
So what's more important to the Vue project - ease and simplicity, or pushing the envelope on scalability and performance? I'm glad we have the RFC process to help Evan and the team make the best possible decision.
A personal request: if you do want to contribute to the discussion, please keep it professional and respectful (should go without saying) but also assume the Vue maintainers have everyone's best interests in mind.
Studio 3T gives you full visualisation of your data and all the tools you need to access it, query it, edit it in-place, build aggregations and more. “Studio 3T saves me 10 hours a week,” says Pierre Folens at Orange. Download your free trial.
Single-SPA enables you to use multiple frameworks in a single-page application, allowing you to have Angular, React, and Vue.js apps all living happily together. In this article, you'll see how to build a React and Vue app into the same micro frontend.
Components get harder to maintain as they grow larger. Sometimes it is not obvious how to split a bloated component into smaller components. If you aren't ready to try the new function-based API, renderless components offer a good alternative.
Special thanks to my senior Patreon sponsors Vue School.