Skip to content

Latest commit

 

History

24 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

learnings

parcel

  • dev builder
  • local server
  • file watching algorithm
  • caching faster builds
  • bundler ,minfy the files, image optimization
  • compressing
  • consistent hashing al cold splitting
  • removes unused codes and error handling
  • new folder sare created dist and parcel-cache that contains dev buold or prduction build code
  • tree shaking removes unwanted mosules

app layout

react hooks

  • normal js function utility functions

  • usestate() -> it maintains the state of your component ,scope of a local state varaible is inside that component

  • useeffect() alt text

  • state varaible inside this usstate we pass the defualt value that variable will recieve usestate is a hook which returns the array the setnewListRestraunt function is used to update the newlistRetraunt state variable it can be updated like a normal js vatriable let [newListRestraunt, setnewListRestyraunt] = useState(restaurantList);

  • useROuterError this is a hoook using this hook gives more information about the error

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages