如何在redux-offline中查看我在reducer中的API响应。在我的代码下面,我在I can see my request data中的reducer中记录了我的操作。store.js import { applyMiddleware, createStore, compose } from 'redux'; import offlineConfi
我在我的React应用程序中使用了redux-offline,除了页面第一次加载时值“闪烁”之外,一切看起来都很好。在不到一秒钟的时间内,我可以看到存储变量的初始值,然后将其替换为持久化的值。;import { offline, createOffline } from '@redux-offline/redux-offline';
import offlineConfig f
为了在我的应用程序中处理离线交互,我使用redux-offline。当应用程序重新启动时,我的redux商店中的脱机状态不是持久的。Redux-offline将操作转移到处于redux存储的离线状态的发件箱阵列,该阵列应在应用程序恢复在线时重试该操作。autoRehydrate, persistStore } from "redux-persist"import { offline } from "redux-offline</em