omidbachari / which_config

What's in your IDE?
https://which-config.herokuapp.com/
3 stars 0 forks source link

React SPA that displays live steam of data #14

Open omidbachari opened 8 years ago

omidbachari commented 8 years ago

https://github.com/bigardone/phoenix-trello

omidbachari commented 8 years ago

https://github.com/mojotech/standup-web/blob/master/src/helpers/socket.js Using a custom redux middleware to map socket events to redux actions

No. I would just use socket listeners directly in the component. Doing a redux middleware would only be helpful if you need to store state that you get back from a socket message

Just remember to clean up the listeners on componentWillUnmount

omidbachari commented 8 years ago

https://github.com/omidbachari/which_config_web