When and why Render function will re-render vue component. May be some one know some Rules and Demands to data?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
I think you are looking for this: Reactivity in Depth - https://vuejs.org/v2/guide/reactivity.html
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
Basically any time a reactive data property changes... Vue will re-render the component.