在我的项目中,我使用。我面临的问题是redux thunk操作无法返回异步redux表单验证所需的承诺。asyncValidate function passed to reduxForm must return a promise下面是我使用的代码:import {logIn} from '../user/actions&
当某些组件想要订阅数据时,我想按需创建一个websocket。如何以redux方式共享websocket实例?export function subscribeToWS(url) { let websocket = new WebSocket(url) websocket.send("subscribe") websocket.on('me