Zidio Web Development
Zidio Web Development
Zidio Web Development
Welcome to
Web
development
Presenters:
Animesh Singh
Date:
08 April 2024
Agenda
Create React application
Router
UseState & Useeffect
Class & function based components
Frontend and Backend connection (Theory)
Q&A
Refreshments
Create react App . . . .
Install node and for checking open your terminal
and check the version by typing node -v
Check NPM if its installed to check type on the
terminal npm -v
After that open your vs code and in a new file
folder and open its terminal and type
npx create-react-app app-name
npx or npm what ever you have you can do while
running.
After creating navigate to your app by typing
cd app-name
Run the development server by typing npm start
React router What is? How to
use?
React Router is a standard library for routing in React. It enables
the navigation among views of various components in a React
Application, allows changing the browser URL, and keeps the UI
in sync with the URL.
After creating the react App you need to install react router in
your application write the following code in your terminal
npm i react-router- dom