Reputation: 2587
Can TypeScript only be used to create SignalR web apps, or do we have to use jQuery? Or is there a TypeScript version of SignalR?
Upvotes: 24
Views: 16679
Reputation: 1359
It's possible to use TypeScript or Javascript client, but you have to use new version SignalR Core.
Upvotes: 0
Reputation: 18222
I made this based on react-native-signalr but without adding jQuery to window object https://github.com/DVLP/signalr-no-jquery
Upvotes: 11
Reputation: 18301
SignalR has a dependency on JQuery therefore it is required that you use it.
However, there is an issue filed on the SignalR source GitHub page to re-write the JS client without the JQuery dependency.
https://github.com/SignalR/SignalR/issues/372
Upvotes: 23