- Dev Build.
- Local Server
- HMR = Hot Module Replacement
- File Watching Algorithm - Written in C++
- Caching - Faster Builds.
- Image optimization
- Minification
- Tree shaking - Remove unused code
- Compression
- Code splitting
- Content hashing
- Bundling
- Differential bundling - support older browser
- Diagnostics
- Error Handling
- HTTPs
- Different dev and prod bundles
/* My Food App structure will look like this,
- Header
- Logo
- Nav Items
- Body
- Search Bar
- RestaurentContainer
- RestaurentCard
- Image
- Name of Res., Star Rating, Cuisines(like res. food in pizza, dabeli, bhel ....) , Delivery Time
- RestaurentCard
- Footer
- Copyright
- Links
- Address
- Contact
- export default Component;
- import Component from "path";
- export const Component;
- import {Component} from "path";
useState- Superpowerful State Variable in ReactuseEffect
- In
React-Router (<Link to='/path'></Link>)We arenot makingany network called while we are moving to our pagebecause all the Component are already to be loadedto in our app.
ReloadtheWhole Page.(.html)file page click on the(<a href='/path'></a> Tag)that makes anetwork calledandfetches dataof(another.html)file page that render the UI andRefresh the whole page.