DEV Community

Abinaya V
Abinaya V

Posted on

React in javascript

React
React is a JavaScript library used to build user interfaces, especially web applications.

It was created by Meta (formerly Facebook).
Enter fullscreen mode Exit fullscreen mode

Simple meaning
JavaScript → programming language
React → library built using JavaScript

** NPM Means:**
npm stands for Node Package Manager.

It is used to:

  • Install JavaScript packages/libraries

  • Manage project dependencies

  • Run scripts in projects

npm comes automatically when you install Node.js.

MPA

In web development, MPA means Multi-Page Application.

A Multi-Page Application loads a new HTML page from the server whenever the user moves to another page.

SPA

SPA means Single Page Application.

A Single Page Application loads only one HTML page initially, then updates content dynamically without reloading the entire page.

Difference between libraries and frameworks?

Top comments (0)