Giter Site home page Giter Site logo

nonish / namaste-react-notes Goto Github PK

View Code? Open in Web Editor NEW

This project forked from priya42bagde/namaste-react-notes

0.0 0.0 0.0 80 KB

This repository is a treasure trove of notes and assignments from the exhilarating Namaste React course! ๐Ÿš€๐Ÿš€

namaste-react-notes's Introduction

Namste React ๐Ÿš€

Parcel

  • Dev Build
  • Local Server
  • HMR - Hot Module Replacement
  • File watching algorithm => written in c++
  • Caching => Faster Builds
  • Image Optimization
  • Minification
  • Bundling
  • Compressing
  • Consistent Hashing
  • Code Splitting
  • Diffrencial Bundling - Support older browsers
  • Diagnostic
  • Error Handling
  • HTTPS
  • Tree Shaking => removed unused code
  • Diffrent dev and production bundles

Namste Food

/**

  • Header
    • logo
    • Nav items
  • body
    • search
    • Restaurant container
    • Restaurant card
  • -img
    
  • -Name of Res, Star rating, cuisine, delivery time etc
    
  • Footer
    • Copyright
    • links
    • address
    • contact

*/

Two types of Export/Import

  • Default Export/Import

export default component; import componenet from "path"

  • Named Export/Import

export const component; import {component} from "path";

React Hooks

  • (Normal JS Function) - Created by Facebook Developer

Most Important Hooks

  • useState => It gives us Superpowerful varible in React
  • useEffect

Code Spilitting

โšก Advantage of code splitting:-

(1) Improved Initial Load Time (2) Faster Time to Interactive (3) Better Performance on Low-End Devices (4) Optimized Bandwidth Usage (5) Efficient Use of Browser Cache (6) Enhanced User Experience

โšก Disadvantage of code splitting:-

(1) Complexity (2) Increased Requests (3) Webpack and Tooling Overhead (4) Harder Debugging (5) Initial Load Time of Small Chunks (6) SEO Challenges

namaste-react-notes's People

Contributors

bk408 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.