Shadow1349
Shadow1349

Reputation: 771

React vs SignalR

I build web apps using ASP MVC and I am looking at using ReactJS. I have seen a few examples of React integrated into an ASP.NET MVC project and I don't really see the value over SignalR, which is what I use now for all real-time updates and communications.

I am hoping someone can go over the benefits of using React vs SignalR or even why I should be using React. Its popularity makes me think there is more to it that I'm just not seeing and I would hate to fall behind if it is more powerful and can help me do more.

Thank you for your responses!

Upvotes: 1

Views: 2272

Answers (2)

Haitham Shaddad
Haitham Shaddad

Reputation: 4456

React is used to build a single page apps or SPA, this will give you a desktop like UI, if you want it to be more interactive, then you can use it with SignalR to receive real time updates from the back end.

Facebook site alone is the idea of React, ex: responsive, no page refresh. Integrating it with something like SignalR, adds the real time notifications about comments and posts

Upvotes: 3

Stephu
Stephu

Reputation: 3334

You should'nt compare apples and oranges. React is a JS Library for building User Interfaces and SignalR is an abstraction, which will help you to send messages from server to client (also the other side).

Upvotes: 1

Related Questions