dzintars / front

Test setup (Don't use!) Dev server URL available while i'm developing.
https://front.oswee.dev
1 stars 1 forks source link

Open WebSocket connection via Saga #93

Open dzintars opened 4 years ago

dzintars commented 4 years ago

Currently i create connections there: https://github.com/dzintars/front/blob/d55c95270278d018c716c2d2435d5a92e9b8611e/src/ui/containers/system-shell/component.ts#L58 But ideally it should be done in Saga when certain action is captured.

dzintars commented 4 years ago

http://www.codeblocq.com/2017/08/How-to-receive-messages-from-web-sockets-using-redux-saga/ https://benestudio.co/redux-saga-to-the-rescue/