Refs
??在一般情況下,props 是父組件與子組件交互的唯一方式-傳入新的 props 來重新渲染子組件。
??但 Refs 提供了訪問在 render 方法中創建的 DOM 節點或 React 元素的方式來實現在典型數據流外強制修改子代。
[link]: https://react.docschina.org/docs/refs-and-the-dom.html
??
Context
??Context(上下文) 為一種在組件間共享值的方法,使得組件可以不必須通過組件樹來每個層級地依次傳遞值。
[link]: https://react.docschina.org/docs/context.html