Check why we no longer bail out of subscription checks when store.getState()
hasn't changed
#2089
Milestone
store.getState()
hasn't changed
#2089
In v7, we definitely bailed out of
useSelector
if the store state hadn't changed:react-redux/src/hooks/useSelector.js
Lines 67 to 71 in 49f7680
Per reduxjs/redux#4627 , there's questions of whether it still does that correctly in v8 with
useSyncExternalStore
. Should look into this.(also, there's a question of whether we should bail out inside subscriber callbacks, or before calling them)
The text was updated successfully, but these errors were encountered: