我正在使用redux和Wix的react-native导航在android的react-native中制作一个应用程序。我将从API获取的所有数据的列表存储到redux存储中。如果用户处于离线状态,我将使用redux-persist来显示商店中的列表。thunk from "redux-thunk";import/<
我使用了fetch()从API中获取数据,但我得到的错误是"Uncaught :action必须是普通对象。使用自定义中间件进行异步操作“。import {createStore, applyMiddleware} from 'redux';//toconnect to react and redux
import {Provider} from 'reac
(我发现它非常令人困惑),我正在尝试渲染以下页面:import { connect } from "react-reduximport { BrowserRouter as Router, Route } from "react-router-dom";
import { Provider } from "react-redux