Basic understanding of React
Introduction;
React is a frontend JavaScript library for building user interfaces.
[Difference between Library and Framework: We can say that a library implements a particular function. We can define a framework as a collection of libraries implementing one specific methodology.]
React is used to build single-page applications.
React.JS was first used in 2011 for Facebook's Newsfeed feature.
Facebook Software Engineer, Jordan Walke, created it.
React file Installation;
To use React we need NPM [Node package manager]
npx create-react-app [ This command line Creates a new React file in Our project.]
npm uninstall -g create-react-app [Uninstalled the React file.]
npm start [ Run this command to execute the React application.]
How does React work;
React creates a virtual DOM in memory and before making the changes in the browser DOM.
React only changes what needs to be changed.