You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 26, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 26, 2024. It is now read-only.
I added ngrx to manage state better and discovered that onPush change detection and async slices of state updated from my socket services makes this work just fine. Not saying it doesnt need patched for other implementations without a reactive library for angular in use.
Activity
JiaLiPassion commentedon Jul 1, 2017
@Kaffiend ,currently you have to use
Zone.current.wrap(callback)yourself, I can implement apatchforsocket.iolater.devbdavis commentedon Sep 22, 2017
I guarantee this is not optimal, but the only way I found to wrap the emitter .on event, was something like this:
devbdavis commentedon Sep 22, 2017
Although, its weird. I do see that websockets themselves are wrapped. socket.io uses the Component Emitter for handling its events: https://www.npmjs.com/package/component-emitter
Kaffiend commentedon Sep 22, 2017
I added ngrx to manage state better and discovered that
onPushchange detection and async slices of state updated from my socket services makes this work just fine. Not saying it doesnt need patched for other implementations without a reactive library for angular in use.Kaffiend commentedon Jan 4, 2018
Will zone be patched any time soon for Socket.IO?
JiaLiPassion commentedon Jan 5, 2018
@Kaffiend , I am working on it, I will create a PR soon.
feat(patch): fix angular#828, patch socket.io client
feat(patch): fix angular#828, patch socket.io client
feat(patch): fix angular#828, patch socket.io client
feat(patch): fix angular#828, patch socket.io client
feat(patch): fix angular#828, patch socket.io client
feat(patch): fix angular#828, patch socket.io client
feat(patch): fix angular#828, patch socket.io client
feat(patch): fix angular#828, patch socket.io client
feat(patch): fix #828, patch socket.io client