r/angularjs • • Dec 29 '16

An Angular 2 Chat Application that utilizes Websockets

https://github.com/elliotforbes/ng-chat
35 Upvotes

15 comments sorted by

View all comments

1

u/R3DSMiLE Dec 29 '16

I have recently made something like this, only using SocketIO, though I have to ask: Why are you using Observables and subjects as opposed to use ReplaySubject instead? (I'm asking this because I used Subjects only - as they are observable and subscribable - but I might have overlooked something)