命名定义何时必须运行渲染函数的规则和要求? [英] Name the Rules and Demands that define When Render function must Run?

查看:18
本文介绍了命名定义何时必须运行渲染函数的规则和要求?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

何时以及为什么 渲染函数 将重新渲染 vue 组件.可能有人知道一些规则和对数据的要求?

When and why Render function will re-render vue component. May be some one know some Rules and Demands to data?

推荐答案

我想你正在寻找这个:Reactivity in Depth - https://vuejs.org/v2/guide/reactivity.html

I think you are looking for this: Reactivity in Depth - https://vuejs.org/v2/guide/reactivity.html

如果你更喜欢视觉化...那么生命周期图可能更容易理解 - https://vuejs.org/v2/guide/instance.html#Lifecycle-Diagram

If you are more of a visual person... then the lifecycle diagram might be easier to understand - https://vuejs.org/v2/guide/instance.html#Lifecycle-Diagram

基本上任何时候响应式数据属性发生变化......Vue 都会重新渲染组件.

Basically any time a reactive data property changes... Vue will re-render the component.

这篇关于命名定义何时必须运行渲染函数的规则和要求?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆