對于這個問題,我的問題是
> 如果不是父子關系或者兄弟或者伯父侄女,真的需要交互嗎?
如果是在同一顆樹上,那么一定能找到一個共同的 parent,把 parent 的回調傳進來就好了
如果不在同一顆樹上,你可能需要一個全局的一些東西
## 9.1?event
使用隨便一種 event emitter,比如?[backbon events](https://www.npmjs.com/package/backbone-events-standalone)。 在一個 componnet 中 trigger,另一個 component subscribe
## 9.2?flux
flux 只是一個架構思想,你可以用任何自己喜歡的方式實現 其實跟 event emitter 差不多,只是針對和管理 state
### dispatcher
作為action 的分發工作,決定哪些 action 引起哪些 store 的變化
### store
狀態與邏輯
## 9.3?router
使用 router 傳遞信息也是可以的
## 9.4?應用級別 state
跟 om 一樣,全局應用級別 state
- 1. Why not 2 way binding/為毛不用雙向綁定
- 2. What's Virtual DOM, why should we care / 為毛要用 Vitual Dom
- 3. Why Immutable / 為毛要不可變
- 4. How to do Unit test React project / 如何單元測試
- 5. Modular and Components
- 6. How should I thinking in react way / 如何以 React 的方式解決問題
- 7. What about Data Fetching / 只有 V 的話,數據 M 呢
- 8. What about Router / router 怎么辦
- 9. How to communicate between two components that don't have a parent-child relationship/ 不是父子關系的 component 怎么交互
- 10. When should I use "key" / 什么時候該用 key
- 11. What's these Warnings / 這些黃黃的是神馬
- 12. How to Profile Component Perfomance / 如何提升效率