[RN][Redux-Persist] AutoRehydrate is not a function

前端 未结 2 631
陌清茗
陌清茗 2021-02-20 02:10

I am using redux-persist 5.5.0 When I debug my react native app, Error say \"autoRehydrate is not a function\" my source code here, give me help please

2条回答
  •  旧巷少年郎
    2021-02-20 02:39

    If using the above method, the error: Object(...) is not a function comes then try using: const store = createStore( persistedReducer, applyMiddleware(thunk ,logger) );

提交回复
热议问题