import { createStore, combineReducers, applyMiddleware } from 'redux';import AsyncStorage from '@react-native-async-storage/async-storage';
importthunk from 'redux-thunk
this.props.onButtonClick(actualPage)
console.log("state from store before textchange", store.getState在onClick函数运行后,redux存储更新到正确的值,mapStateToProps也以正确的状态运行,如果我尝试从支柱记录状态,则仍然运行旧的值。如果在返回JSX之前在呈现函数中执行相同的日志操作,则从道具中获得正确的状态,并且无法理解为什么在redux存储之后没有立即更新。this.props.on