Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

with-socket.io Example updated with _app.js #4644

Merged
merged 3 commits into from Jun 23, 2018

Conversation

bennygenel
Copy link
Contributor

with-socket.io example was using a single index file and was managing connection in there. This would lead handling connection (disconnecting and reconnecting) in each added page.

I updated example with addition of _app.js and handled connection in there. This helped only subscribing to event in page and maintaining connection throughout example.

@timneutkens timneutkens merged commit 6ed2da4 into vercel:canary Jun 23, 2018
@bennygenel bennygenel deleted the with-socket.io-update branch June 23, 2018 20:28
@lock lock bot locked as resolved and limited conversation to collaborators Jun 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants