DEV Community

Cover image for REACT.JS INTRO
R.Shobika CSE
R.Shobika CSE

Posted on

REACT.JS INTRO

REACT.JS

  • React is a JavaScript Library

  • It is a Single Page Application

  • Its is a component based architecture

  • It was created by Facebook

  • And main advantage is reusable ui

DIFFRENCE BETWEEN LIBRARY AND FRAMEWORK:

Why Node.js in React?

  • Node.js is used for React primarily to power the development environment and build tools on your computer, not to run the React app in the browser.

  • Because web browsers cannot directly understand modern React code (like JSX or ES6 modules), Node.js acts as the engine that transforms, bundles, and prepares your code for the web.

COMMENTS FOR REACT PROJECT CREATION:

npm create vite@latest [npm is a node package manager]
|
project name 
|
framework selection
|
variant selection
|
it will ask you want to install the npm if you want means click yes otherwise no
|
the project folder is created successfully
Enter fullscreen mode Exit fullscreen mode

Top comments (0)