React Navigation热重装不起作用

时间:2017-05-26 18:30:43

标签: react-native redux react-redux react-navigation

我开始使用hot.acceptCallback is not a function重构我的整个反应原生导航,现在它工作正常,但现在唯一的事情是app不支持热重新加载。每次我保存与路由相关的文件。它给我一个热重载错误:import AppNavigator from '../RouteConfigs'; const initialState = AppNavigator.router.getStateForAction(AppNavigator.router.getActionForPathAndParams('Startup')); export default (state = initialState, action) => { const nextState = AppNavigator.router.getStateForAction(action, state); return nextState || state; }; 。请回复我,已经解决了这个问题。

** navigation-reducer.js

lookupPostParam :: MonadHandler m => Text -> m (Maybe Text)

0 个答案:

没有答案