Skip to content

cjeanm11/searchbar-optimisation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Search Bar Memes

  1. Debouncing: Implements setTimeout to optimize API calls by delaying execution until user input has stopped.
  2. Lazy Loading: Uses React.lazy and Suspense for on-demand component loading.
  3. Memoization: Employs React.memo and useMemo to prevent unnecessary re-renders and enhance performance.
  4. Caching and Throttling: Caching stores previous results for faster access, while throttling limits API calls during typing, ensuring a smooth and efficient search process.

Getting Started

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published