Open sampaiodiego opened 9 years ago
+1
Happy to do some debouncing here, but I think there is already an inherent one built-in through the reactive computation (on the client).
Have you found that autocomplete is causing performance issues on your server?
Adding debouncing or just pulling this into the Master would be great.
Hi @sampaiodiego - I don't have time to maintain this project anymore, so I gave you commit access to make any changes you'd like. It would be nice to follow the style used by the rest of the code and add some tests to this patch.
If you'd like permission to publish to Meteor under the existing project name, please feel free to send me your Meteor developer username.
You have been added! https://atmospherejs.com/mizzao/autocomplete
Please do whatever you'd like to maintain and improve the project.
I've added a simple delay to make the subscribe after typing to prevent a possible overhead on server for performing a find on every character typed.