我试图从我的商店调用一个API来更新组件的状态,在这里获取加密的价格。我使用我的状态的克隆作为回报(这里是nextState ),nextState的日志很好地填充了商品价格,但我的组件只得到了initialState。, heightPercentageToDP as hp} from 'react-native-responsive-screen';
import { connect } from 'react-<em
我正试着用redux thunk来消除异步动作。但是我的代码不工作,控制台只是抛出错误Error: Actions must be plain objects.{ reducer } from './modules/Financeiro/Lancamentos/reducer/launchReducer';
import {Rotas} from '.编辑:我的错误是在createStore中,创建存储收到了3个参数,我有一个