Solutionunvalidated
access the current state value via `store.getState` — within the submit handler. Tension: the callback can't possibly see any updated selected state values from outside the closure scope. Outcome: console.log(store.getState().loginReducer.success).
f9d086f5-1e16-4751-8335-6857f9406e06
access the current state value via store.getState — within the submit handler. Tension: the callback can't possibly see any updated selected state values from outside the closure scope. Outcome: console.log(store.getState().loginReducer.success).