Tag Archives: React

React Component Lifecycle

React enables to create components by invoking the React.createClass() method which expects a render method and triggers a lifecycle that can be hooked into via a number of so called lifecycle methods. This short article should shed light into all the applicable functions. Understanding the component lifecycle will enable you to perform certain actions when… Read More »

How to call controller from React in Asp.Net MVC

Here i will explain how to call controller from “React” in  Asp.Net MVC  with below example: Now Create a ActionMethod that will returns message in the Home Controller ass below code public JsonResult GetMessage() { return Json(new { result = “Hello World From ReactJS Controller” }, JsonRequestBehavior.AllowGet); } Now create jsx file and write code to get the data… Read More »

React

React.js is the library form Facebook(developed in 2013) to develop component and released as an open-source project. It’s all about reusable components.However, unlike frameworks, which are built with the goal of getting whole apps up and running quickly, the only thing you do with React is build components. As React.js’s core functionality, components make reusing code,… Read More »

Angular 2 vs React

Google’s Angular 2 and Facebook’s React are popular tools today for building browser web applications and both are awesome. Angular 2 React The size of Angular 2 is 764k (this is minified version). The size of React is 151k (this is minified version). It is Google’s framework. It is Facebook’s open source library. Angular 2… Read More »

Is React a framework

React  is not a framework. It’s the “View” in the application, a fast one. It also provides different ways to organize your templates and gets you think in components. In a React application, you should break down your site, page or feature into smaller pieces of components. It means that your site will be built… Read More »

What is JSK

JSX(JavaScript Syntax Extension) is the library for transforming XML based syntax code to pure JavaScript. It’s a syntactic transform — each JSX node maps to a javascript function. It neither provides nor requires a runtime library. It doesn’t alter or add to the semantics of JavaScript — it’s just simple function calls. JSX script will… Read More »