我在这个项目新的,我尝试使用react-redux-universal-hot-example
API,但使用我的代码:类型错误:无效试图解构非迭代的情况下
export function showMessage() {
return {
type: SHOW_MESSAGE,
promise: (client) => client.get('/posts')
};
}
我在浏览器中得到这个错误:
TypeError: Invalid attempt to destructure non-iterable instance
谁能帮助?