davinkevin / AngularStompDK

Angular service to communicate to Stomp-Websocket
http://davinkevin.github.io/AngularStompDK/
Apache License 2.0
36 stars 12 forks source link

Angular 2? #29

Closed Yermo closed 8 years ago

Yermo commented 8 years ago

Any plans to implement a version for Angular 2?

davinkevin commented 8 years ago

I'm working on Angular2 right now for other project... and I'm wondering if a wrapper around StompJS would be necessary. AngularStompDK is mainly a bridge between StompJS and AngularJS Digest Cycle.

With Angular2, this kind of bridge seems to not be necessary. So I'll maybe do something to preserve the fluent API of AngularStompDK for Angular2, but I think you can use StomJS right now in your Angular2 project...

Yermo commented 8 years ago

Thank you for the quick reply. That does make sense.

davinkevin commented 8 years ago

Say me if you try StompJS with Angular2, I'll be glad to know if it's working well :smile:

davinkevin commented 8 years ago

I've checked and thanks to ZoneJS which monkeyPatch all browser API, all the behavior of StompJS should be working in Angular2.

I close this issue to reduce the number of issue 😄