Tag Vue

BASIC USE OF JSX

No.1 INTRODUCTION TO JSX Through the +1 small application of the previous blog, we can appreciate that compared with Vue, writing such a small application with React is more troublesome and the code is more chaotic. Developers who have been…

Vue 3.0 ref differs from reactive

the use of ref ref the role is to convert a primitive data type into a data type with a reactive attribute (reactivity), there are 7 primitive data types, which are: String Number Boolean Null Undefined Symbol : It is…

Vue.js of Vue.nextTick and vm.$forceUpdate()

Official explanation: Force vue instances to re-render. Note that it affects only the instance itself and the subcomponents that insert the contents of the slot, not all subcomponents.equivalent to manually triggering render() this.$forceUpdate();perform forced rendering. for example, there are too…

In Vue, $forceUpdate use of ().

It is pointed out in the official documentation of Vue that it has the effect of forcing refresh. That in the vue framework, if there is a variable: age, modify it, the page will be updated automatically.However, if the variable…