Skip to content

Tech-Jafar/All-React-Projects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

What is React 📌

React is a popular JavaScript library for building user interfaces, primarily for web applications. It was developed by Facebook and is now maintained by Meta and an open-source community. React allows developers to build complex UIs by breaking them down into smaller, reusable components. Some key features of React include:

  • Components: React is built around the concept of components, which are self-contained UI elements that can be reused throughout your application.
  • Virtual DOM: React uses a virtual representation of the DOM, which is more efficient than directly manipulating the actual DOM.
  • State management:b> React provides a way to manage state with in components, which makes it easier to build complex UIs.
  • JSX: React uses a syntax extension called JSX, which allows you to write HTML-like code within your JavaScript files.

🎄Setup React On System🎄

First Install Node Js https://nodejs.org/en/ on your system

1.method using npm

npm init react-app tech-app
cd tech-app
npm start

2.method using npx

npx create-react-app tech-app
cd tech-app
npm start

What is npm and npx

  • npm (Node Package Manager): It's used to install packages globally or locally in your project. For React, you typically run:
  • npx (Node Package Execute): It comes with npm (since version 5.2) and is used to run packages without globally installing them. For example, to create a new React app:

3.method using npm vite

npm create vite@latest
cd tech-app 
npm install
npm run dev

What is vite+react

Vite is a fast build tool for modern web projects. To create a React app with Vite, use: It offers faster dev servers and optimized builds compared to traditional tools like Create React App.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published