- Dev Build
- Local Server
- HMR = Hot Module Replacement
- File Watching Algorithm - written in c++
- Caching - Faster Builds
- Image Optimization
- Minification
- Bundling
- Compress files
- Consistant Hashing
- Code Spliting
- Differential Bundling - Support older browsers
- Diagnostics
- Error Handeling
- HTTPS
- Tree Shaking - remove unused code
- Different dev and prod bundles
/* Header -Logo -Nav items Body -Search -RestaurantsContainer -RestaurantsCard - img - name of res, star Rating, cuisine, delivery time Footer -Copyright -Links -Address -Contact */
- export default component;
- import component form "path";
- export const component;
- import {component} form "path";
-
Normal Js Utility function.
-
useState() - superpowerful state variables in react
-
useEffect()
-
If no dependency array => useEffect is called every render.
-
If dependency array is empty = [] => useEffect is called on initial render(just once).
-
If dependency array is [btnName] => called every time btnName is updated.
- Client Side Routing
- Server Side Routing