-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
接上: attach vs. connect #65
Comments
經驗上來說 字典 attach
connect
(看了覺得 join 似乎也可以參戰 XD) 感覺上,connect 會跟 "線" 有關聯
然後 attach 比較用在 "文件" 類型的
|
同意,我之前在整理 "detach vs. disconnect" 時也歸納出同樣的結論。
|
提供參考 前端工程中的熱門 library:redux 的 connect 函式
這個 connect 函式能夠將「介面組件」連接到一個「中心化的 state 物件」 當「中心化的 state 物件」狀態改變時,會連動通知「介面組件」作相關的商業邏輯 |
https://www.facebook.com/m4n14c.tw/posts/3362914743775576
The text was updated successfully, but these errors were encountered: