tfrere HF Staff Cursor commited on
Commit
2fdc543
·
1 Parent(s): 81fe438

feat: fuzzy search with Web Worker and memoized cards

Browse files

- Add Fuse.js-powered fuzzy search in a Web Worker (off main thread)
- Search across name, id, author, description, and tags
- Extract SearchInput into isolated memoized component to prevent
full page re-renders on every keystroke
- Memoize AppCard with React.memo to skip unnecessary re-renders
- Debounce search input (200ms) for smooth typing

Co-authored-by: Cursor <cursoragent@cursor.com>

4 files changed +422 -75
Files changed (4)
package.json+1
src/pages/Apps.jsx+100-46
src/workers/searchWorker.jsAdded+57
yarn.lock+264-29