redux getState() doesn't return the updated state
问题 The problem that made me stuck for days is that although my redux devtool shows the successful state update without any kind of mutation and with successful View component rerender, but when I call getState() it always return the initial state and doesn't care about updated state! anyone who knows what could make this kind of situation pls help me. I use react-redux and redux-thunk action.js export function test(data) { return { type: 'TEST', data }; } export function testFunc(data) { return