技术栈React组件通信方式总结On this page组件通信方式总结方式 props: (1).children props (2).render props 消息订阅-发布: pubs-sub、event等等 集中式管理: redux、dva等等 conText: 生产者-消费者模式组件间的关系 父子组件:props 兄弟组件(非嵌套组件):消息订阅-发布、集中式管理 祖孙组件(跨级组件):消息订阅-发布、集中式管理、conText(用的少)