Solved

Facebook React and ASP.NET Core 1.0

Posted on 2016-08-17
  • React
  • ASP.NET
  • .NET Programming
  • JavaScript
  • C#
  • +1
3
249 Views
Last Modified: 2016-11-08
I have heard that react will replace Angular at the front end technology of choice. Please give me a bird's eye view of React, and how well it compliments an ASP.NET Core 1.0 application.

I have no experience with React, but have reviewed a bit of Angular and used Bootstrap. Please give some details about React.

Thanks
0
Comment
Question by:newbieweb
  • 2
3 Comments
 
LVL 55

Accepted Solution

by:
Julian Hansen earned 500 total points
ID: 41759272
Not sure about React replacing Angular - they are subtly different with different adv / disadv.

React is a library
Angular is a framework

Some argue that the React way of doing things (more JS centric) makes it easier to code - debugging is slightly easier. Others argue that the framework benefits and features like two way binding make for easier development. Ultimately it is what suites your project. Google is behind Angular, Facebook behind React - too early to tell who will be the winner if any.

As for using React with ASP.NET - here is my take. Both Angular and React are client side solutions that bring the view logic into the browser. Communication with the server is for the purpose of fetching and sending data. Server side code is in a true Single Page Application is going to reduce to REST endpoints and API's that provide data services to to the application. So how it compliments an ASP Core app - not really a question in the context of true SPA's - any server side solution can provide REST interfaces - the app does not really care where or how the data is generated as long as it gets the JSON response it expects.

React as a library - if you are strong in JavaScript then you should find React easy to get into - it has a much shorter learning curve than Angular and sticks closely to native JS to get things done - whereas Angular needs decorators and special attributes.

Angular 2 is relatively new - so we are still waiting to see how the new component centric design of Angular 2 pans out - so far it looks promising.
0
 

Author Closing Comment

by:newbieweb
ID: 41759291
thanks
0
 

Author Comment

by:newbieweb
ID: 41759295
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question