Skip to content

Debounce and memoize the FollowingSystem search filter #978

Description

@RUKAYAT-CODER

Overview
src/components/social/FollowingSystem.tsx:70 recomputes users.filter(...).toLowerCase() on every keystroke and render with no useMemo or debounce, and the filtered list at line 117 is rendered unvirtualized, so large follower lists re-filter and fully re-render on each character typed. Debounce the query and memoize the filtered result.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions