Skip to content
Discussion options

You must be logged in to vote

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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by krisk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants