- Go to your /server directory.
- create index.js ( Our server will run here. )
- You can install dependencies like express, body-parser, Mysql, nodemon
Setup a Nodemon.
- Add these 2 lines under the script tag
- npm run devStart
Whenever you want to push your existing folder to git or GitHub you must:-
git branch -M main ( Create branch on git )
git add .git push origin mainimport React, {useState} from 'react';
const Basicform = () => {
We are going to create 2 components
class component
functional component
Ref: https://www.geeksforgeeks.org/differences-between-functional-components-and-class-components-in-react
ref2: https://www.youtube.com/watch?v=uGgPINlKqBs
You can pass props in both components. But in functional components, you have to use the `props` keyword & in-class component you automatically have the refernece
9) Understanding React Fragment in React JS in Hindi in 2020 #8
10) JSX challenge completed
11) JavaScript Expressions in JSX in ReactJs in Hindi in 2020 #10
12) ES6 Template Literals in JSX in ReactJS in Hindi #11
13) React JS Challenge #2: Display Current Date and Time in JSX in React JS in Hindi #12
14) HTML Attributes vs. JSX Attributes
15) CSS Styling & Importing CSS Files in React JS | Class Vs ClassName in React JS in Hindi in 2020 #14 ( ClassName introduced )
16) How to use Google fonts in React JS Application in Hindi in 2020 #15
17) Internal CSS & Inline CSS Styling In React JS in Hindi in 2020 #16 (Why inline styling);
18) React Components in Hindi | Functional Component in React JS Hindi in 2020 #18
19) React JS Practice #4: Rewrite our React Project into Components in React JS in Hindi in 2020 #19
20) ES6 Modules Import Export in React JS in Hindi #20
21) React JS Challenge #5: Create Simple Calculator App in React JS in Hindi #21
22) #22: Props in React Js in Hindi | React JS Project Netflix App Part #1 in Hindi in 2020
23) JavaScript Tutorial in Hindi #12: Array in JavaScript in Hindi
24) #23: Arrays in React JS in Hindi | ReactJS Project Netflix App #2 in Hindi in 2020
25)#24 Completing React JS Netflix App #3 | Array Map & Fat Arrow function in React Js in Hindi in 2020
26) ReactJS JavaScript Array Map Method in Hindi with Example