I have dispatched an action which doesn't contain any asynchronous code such as ajax call or anything which changes the reducer state. Can I access the changed reducer state in the very next line in the react app?
React APP
actions.setName('Test'); //this sets the name in state of reducer to Test
//Can I access the name in the next line
const name = this.props.name;