阅读背景:

使用React Navigation和Redux实现Native Auth

来源:互联网 

I have just started integrating Redux into my first React Native (Expo.io) project. I have got login working great with Redux, but when I try and create a logout button on one of the screens in my app, it actually triggers the log out dispatch as soon as it loads it. I think I must be misunderstanding the way Redux connect and mapDispatchToProps work. I have read the documentation many times but am still stuck. Here is the code in it's non-working state.I have just started integrating Redux into my f




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: