Why React, not Vue? #1108
-
In previous versions we had Vue as a frontend. Why you switched to React? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 1 reply
-
React is the most popular. Quite appropriate choice isn't it? If you are a maintainer what will you choose? Something that more users will be familiar with? Or something that less users will be familiar with? |
Beta Was this translation helpful? Give feedback.
-
Project Requirements: The decision to switch frontend frameworks may be driven by changes in project requirements. React might offer specific features, performance improvements, or integrations that better align with the goals of the project.
|
Beta Was this translation helpful? Give feedback.
-
Switching from Vue.js to React often involves a variety of factors and considerations, including technical, strategic, and development Team preferences.
|
Beta Was this translation helpful? Give feedback.
-
the transition from Vue.js to React is likely driven by React's stronger capabilities in handling complex applications. React offers a robust ecosystem, modular architecture, and efficient rendering, which can better support evolving requirements and scalability goals as compared to Vue.js. This strategic technology shift aligns with industry best practices and positions the firm for long-term growth. |
Beta Was this translation helpful? Give feedback.
-
Let's start with why there was Vue in the first place. 🤓 The first version of all this, what started this template, long before FastAPI existed, was called But now, years after, React has first-class TypeScript support, and hooks, which solve a lot of the awkwardness of classes and untyped props. And editors have amazing support for JSX (that was surprising to me). So, the developer experience is quite on par with alternatives. I understand Vue 3 has taken a lot of these ideas and in some cases improved them. But still, the difference is not as big as it used to be. Now, for this project, I want something that people can easily pick up and use, and also something that, if people use it, would have an easier time finding a job. So, even though I'm personally very interested in Vue.js, Solid, and alternatives, for this project React seemed a very good alternative that would tick most of the boxes and strike a good balance, getting most of the benefit possible for everyone. That's why this now has React. 🤓 |
Beta Was this translation helpful? Give feedback.
Let's start with why there was Vue in the first place. 🤓
The first version of all this, what started this template, long before FastAPI existed, was called
full-stack
, it used Flask and Angular. At the time, Angular had the best support from editors. But it required a lot of complexity and code duplication. So, I moved to Vue.js (Vue 2). It was much simpler, it had great docs, and it had great a very good developer experience, with good editor support. And it had some early attempts at supporting TypeScript. The main components supported it but extensions didn't support it as well. Still, it was better editor support than what React would provide with components based on classes, a bunch of