155

react都这么无情了,vue还是那么有义,4种父子组件数据双向传递大法 - 掘金

 6 years ago
source link: https://juejin.im/post/59c270bc5188252c237f851f
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
原本想放张老尤的照片的,烧三根香膜拜一下的,可惜图片和不上去,在前端这么mmp的时代,天天有那么多B事,在数据驱动的时候,大家都推崇数据的走向都是单向数据流,都是通过父组件去向子组件传递数据,还是那句话,那来这么多B事,只要注意点就可以了,合理的运用双向绑定,

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK