先說結論useSelector 幹了什麼調用此Hook API 時會在store 上註冊監聽器。 當Store::state 變化時,組件會checkForUpdates,利用equalityFn 判斷是否 ...
確定! 回上一頁