Tuesday, April 9, 2019

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>Referance : https://www.fiverr.com/muhammad_sarmad/develop-and-fix-reactjs-web-application </p>
    <p>react.js </p>

    No comments:

    Post a Comment

    React React  is a JavaScript library for building user interfaces created by Facebook. It is maintained by Facebook and a community of...