📣
父子组件通信:props + 函数
爷孙组件通信:两层父子通信或者使用 Context.Provider 和 Context.Consumer
任意组件通信:其实就变成了状态管理了
Redux
Mobx
Recoil
Last updated 3 years ago