AspBucket offers ASP.NET, C#, VB, Jquery, CSS, Ajax, SQL tutorials. It is the best place for programmers to learn

Sunday, 24 December 2017

Introduction to ReactJS

ReactJS is a open source javascript library. It is used to create single page application(SPA) & large web application. It was developed by engineers at facebook.

What is React?
  • Library for creating interfaces.
  • Focuses the view
  • Uses the virtual DOM
How React is different?
  • Component focused.
  • One-way data flow. React doesn't have a mechanism to allow the HTML to change the component. The HTML can only raise events that the component responds.
  • JSX - Using JSX you can write concise HTML/XML-like structures (e.g., DOM like tree structures) in the same file as you write JavaScript code, then Babel will transform these expressions into actual JavaScript code. Unlike the past, instead of putting JavaScript into HTML, JSX allows us to put HTML into JavaScript.

0 comments :

Post a comment

  • Popular Posts
  • Comments