使用ReactNative + Redux-persist V 5.10时出错

时间:2018-10-17 21:21:55

标签: react-native redux-persist

在使用ReactNative + Redux-persist 5.10时出现错误-console.error:“ redux-persist:超时后为” root“重新补水。

3 个答案:

答案 0 :(得分:2)

通过将redux-persist版本从5.10.0降级到5.6.12,使其正常工作。

答案 1 :(得分:1)

无需降级到任何版本。这只是在您处于调试器模式时,并且主要与React Native facebook/react-native#4470

中的setTimeout问题有关

答案 2 :(得分:0)

在降级任何内容之前,我建议您关闭本机调试器,然后重试。 react-native调试器通常会导致此错误。