N. Anderson
Results
1
comments of
N. Anderson
https://redux.js.org/basics/store 補充一下, // Note that subscribe() returns a function for unregistering the listener const unsubscribe = store.subscribe(() => console.log(store.getState()) ) 執行 subscribe 後回傳的函數來解除.