Repository navigation
Delayed typing
#540
|
Hi, i've been using fuse and it's a good product, thank you! when i type into the search box it is very slow. table is 7 columns, 23 rows 1.7kb. not sure if it's react or fuse that is slow. |
Answered by
krisk
Apr 3, 2026
Replies: 1 comment
|
Very late reply — sorry about that. 23 rows at 1.7kb is tiny for Fuse, so the slowness is almost certainly coming from React re-renders, not the search itself. I'd recommend debouncing the input (e.g. 150-200ms) so Fuse isn't invoked on every keystroke, and making sure you're not re-creating the Fuse instance on each render. |
0 replies
Answer selected by
krisk
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Very late reply — sorry about that.
23 rows at 1.7kb is tiny for Fuse, so the slowness is almost certainly coming from React re-renders, not the search itself. I'd recommend debouncing the input (e.g. 150-200ms) so Fuse isn't invoked on every keystroke, and making sure you're not re-creating the Fuse instance on each render.