I like React Js;
I use React because I like React.
But some people use Vue because they like Vue, and some people use Angular because they like Angular.
Once put together, they are all pretty much the same.
However, there is a difference between Vue.js/Angular and React in terms of how the transpiler interprets the source code before it is put together. There are.
In Vue/Angular, HTML is written as Template and is separated from Script.
Because Template and Script are separated, the work of linking UI and processing is done by the transpiler.
Use hoge-key in HTML because the naming of attributes isn't case sensitive.
The transpiler combines these.
The increase in React users at the same time that TypeScript became popular was probably due in part to the fact that the UI code can also be covered by TypeScript, making it easier to benefit from TypeScript.
But, I think that Angular/Vue are good, too.
The method of implementing Template and Script separately is similar to the traditional way of implementing an application with SSR.
I recognize that this was also the case with JSP.
Therefore, for those who have done a lot of SSR application development, Vue/Angular is easier to use.
So I don't think React is the only way to go.
I think everyone has their own ideas.
Librarys or Frameworks;
React/Vue are UI librarys.
Angular, on the other hand, is a framework.
In React/Vue, the library itself consists of the minimum content to implement UI.
Therefore, it is necessary to install derived libraries according to the use.
Angular is a framework, so it is full of various libraries from the beginning.
Reasons for liking
Make more use of TypeScript
Can be made in the smallest configuration.
Latest comments (1)
Stop doing copy paste 🚫
original post: dev.to/yukikmt/why-i-like-react-22me