vue react is not a back-end, but a front-end; vue react is a front-end framework; Vue.js is a progressive framework for building user interfaces; React is an open source for building user interfaces JavaScript library, mainly used for building UI.
Recommended: "vue tutorial" "react video tutorial"
Are vue and react used for backend?
vue and react are used for front-end and are front-end frameworks. They are currently popular frameworks.
Vue.js is a progressive framework for building user interfaces. Vue only focuses on the view layer and adopts a bottom-up incremental development design.
React is mainly used to build UI. You can pass various types of parameters in React, such as declaration codes to help you render UI, static HTML DOM elements, dynamic variables, and even interactive application components.
Vue.js
Vue.js is a progressive framework for building user interfaces. Unlike other heavyweight frameworks, Vue adopts a bottom-up incremental development design. Vue's core library only focuses on the view layer, and is very easy to learn and integrate with other libraries or existing projects. Vue, on the other hand, is fully capable of driving complex single-page applications developed using single-file components and libraries supported by the Vue ecosystem.
The goal of Vue.js is to implement responsive data binding and composed view components through the simplest possible API.
Vue.js itself is not a comprehensive framework - it only focuses on the view layer. Therefore it is very easy to learn and very easy to integrate with other libraries or existing projects. On the other hand, Vue.js is also perfectly capable of powering complex single-page applications when used with related tools and supporting libraries.
#react
React is an open source JavaScript library used to build user interfaces. It is mainly used to build UI. Many people think that React is the V (view) in MVC. . React has high performance and very simple code logic. More and more people have begun to pay attention to and use it.
React views are typically rendered using components that contain other components specified in custom HTML tags. React provides programmers with a model where subcomponents cannot directly affect outer components ("data flows down"), efficient updates to HTML documents when data changes, and clean separation between components in modern single-page applications.
React originated as an internal project at Facebook to build the Instagram website and was open sourced in May 2013.
The above is the detailed content of Is vue react used as backend?. For more information, please follow other related articles on the PHP Chinese website!