getState do not have the most up to date values
victorivens05 opened this issue · comments
After a dispatch, which change the store, if there is a useEffect that trigger a thunk on a change, using getState inside of the thunk will have outdated values.