Skip to content

Deal with socket disconnection and reconnection.#4

Open
hsvlz wants to merge 1 commit intokuy:masterfrom
hsvlz:master
Open

Deal with socket disconnection and reconnection.#4
hsvlz wants to merge 1 commit intokuy:masterfrom
hsvlz:master

Conversation

@hsvlz
Copy link

@hsvlz hsvlz commented Jul 1, 2016

Also update the UI to reflect 'connecting' state.

export const newMessage = createAction('new message');
export const sendMessage = createAction('send message');

export const ws_disconnected = createAction('ws is disconnected');
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't setup ESLint, but I prefer camelcase, not snake case.

@kuy
Copy link
Owner

kuy commented Jul 15, 2016

Thanks for working on this example! I've just reviewed and looks good except for small glitches. I'll merge after fixed 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants