Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

translate: practice/parent-to-child.md, working on #65 #86

Merged
merged 2 commits into from
Nov 28, 2018

Conversation

harttle
Copy link
Member

@harttle harttle commented Nov 5, 2018

No description provided.

@andycall andycall mentioned this pull request Nov 5, 2018
54 tasks
categories:
- practice
---

#### props

最简单的也是最常用的父组件更新子组件的方式就是父组件将数据通过**props**传给子组件,当相关的变量被更新的时候,MVVM框架会自动将数据的更新映射到视图上。
Typically, child components update is done by passing data to child components with **props**, the MVVM framework will do the rest.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

child components update is done by
child component updates are triggered by

@otakustay otakustay merged commit 627afef into baidu:master Nov 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants