Vue component-based application structure
来源:互联网 发布:google 云计算 入华 编辑:程序博客网 时间:2024/04/27 07:15
Component-based structure
Vue allows us to build large-scale applications composed of small, self-contained and often reusable components. Before building the application, we could abstract the application to a component tree.
One-way data flow
Data in components flows from parent down to child by props
property: when the parent property updates, it will flow down to the child, but not the other way around. It means that only the component which owns the data should update the property. Instead child should emit an event to notify the parent if child has effect to its parent’s state. That meets the rule: props down, event up. Also it decouple the child component from parent.
阅读全文
0 0
- Vue component-based application structure
- vue-component
- VUE component
- Cost Component Structure
- Native Client - Application - Application Structure
- Application Directory (Folders) Structure
- Application Structure 应用结构
- Component-Based or Interface-Based Arch.
- Large Scale Component Based Development
- vue component 组件使用
- vue component组件小结
- Vue-component全局注册
- vue component组件
- vue 组件(Component)
- Vue中组件(component)
- Vue.component使用注意事项
- vue组件 component
- Document-Based Application Architecture
- Java多线程之同步类容器与并发容器
- H264编码和解码的问题——b intra refresh
- spark-大表join优化方案
- MVVM
- 删除已使用过且无法删除的替代
- Vue component-based application structure
- split
- linux中获取/更新Let’s encrypt 证书的脚本
- Adobe cc 2017 全系列软件下载 附破解安装教程
- 解决LinearLayout中控件不能居右对齐
- Cloudera Hive传统权限管理设置
- Linux内存管理之kmalloc 与 __get_free_page()
- DiffUtils实现partial bindData
- 20170609大数据工作