Hi, I'm mithushan. In this blog I am writing what I learn from online or other resources.

Saturday, April 27, 2019

React Js

React

React is a JavaScript library for building user interfaces created by Facebook.
It is maintained by Facebook and a community of individual developers and companies.
React is a tool for building UI components

What is Babel?

  • Babel is a JavaScript compiler that can translate markup or programming languages into JavaScript.
  • Babel is available for different conversions. React uses Babel to convert JSX into JavaScript.

What is JSX?

  • JSX stands for JavaScript XML.
  • JSX is an XML/HTML like extension to JavaScript.



    What are components?

    • Components are the building blocks of any React app and a typical React app will have many of these. Simply put, a component is a JavaScript class or function that optionally accepts inputs i.e. properties(props) and returns a React element that describes how a section of the UI (User Interface) should appear.
      • Sample
        • const Greeting = () =>  <h1>Hello World today!</h1> ;
          • Out put is Hello World Today!

    <p>react.js </p>

    Join Now Fiverr.com

    No comments:

    Post a Comment