Skip to content

[Performance]: Implement a custom useDebounce hook for search inputs #632

@Aditya948351

Description

@Aditya948351

As the platform grows, typing in search bars like in the Resources or Community sections fires too many queries or filter renders on every keystroke. Create a reusable useDebounce React hook and apply it to our search inputs to delay the filter execution by approximately 300ms, drastically reducing unnecessary renders and potential database reads.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions