Skip to content

Search Debouncing Issues #224

@RUKAYAT-CODER

Description

@RUKAYAT-CODER

Description

Overview
Search input not properly debounced, causing excessive API calls.

Background
onChange triggers API call immediately.

Specifications

  • Add proper debouncing
  • Add loading state during debounce

Tasks:

  • Implement useDebounce hook
  • Add debounce to search input
  • Show loading indicator

Impacted Files:

  • src/components/search/SearchBar.tsx
  • src/hooks/useSearch.tsx

Labels: frontend, performance, priority-medium

Acceptance Criteria
Properly debounced search

🙆Contribution Guidelines:
Assignment required before PR submission
Timeframe: 48-72 hours
PR description must include: Close #issue no
Star the repo⭐

Metadata

Metadata

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions