Tutorials

Tutorials

Get Advanced Microsoft Office & Python Training

For any query mail at: uniqueshikshapoint@gmail.com

Introduction About ReactJs

React Js: (React.js, React)

React is a javascript library for building user interfaces. React is used to create an awesome user interface.

History: Designed by Jordan Walke (software engineer at Facebook)

React was open sourced at JS conference.

About React:

React uses Component Based Approach i.e every application during development in React will be made up of pieces called Components.

Example of component:

import React from react;

function card()

{

return(

<div>

                <h1>React JS Example</h1>

                <p>iqdqidididy idyweiweidy weid weidi</p>

</div>)

}

export default card;

Now this code can be included in UI just by calling the function card().

Web Link: https://reactjs.org/

How to. call a component:

import React from ‘react’;

import Card from ‘./card’

function App()

{

return(

<div>

                <Card/>

                <Card/>

                <Card/>

                <Card/>

                <Card/>

</div>

);

}

export default App;

  • Uses a Declarative Approach
  • DOM updates are handled gracefully (Document Object Models)
  • Reusable Code
  • To increase the speed

Why React:

  1. Created and maintained by facebook (https://github.com/facebook/react )
  2. It has a huge community on githhub
  3. Component based Architecture

Prerequisites for React: (Required Conditions for React)

What should be learn before learning ReactJs:

  1. Basic Knowledge of HTML, CSS and Java Script
  2. Basic understanding of ES6 Features (ECMAScript 6)
  3. How to use npm(node package manager)


:19/02/2023