我开始使用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)