Posts

React

 npx create-react-app  ::// will create the directory as a react project npx create-react-app suppandi-blog ::// creation with name node_module have our dependencies public folder have public files public to browser resource folder (src) stores our most of the resource in src we don't need test file delete the fifth line in index.js import reportWebVitals ... delete the reportWebVitals form src and index.js npm run start ::// will run the app in browser on a liver server local host npm install ::// will download all the required modules for our web app that are mentioned inside the jasons node_module folder is not uploaded to github so evertime using github to download the web app we need the install those the index.js will render App.js because of code given clearly     root.render(   <React.StrictMode>     <App />   </React.StrictMode> ); The App.js have a code written inside the function that is     ...