Hi all. Where can I find a good demo with source c...
# community-help
b
Hi all. Where can I find a good demo with source code for a React component that uses autocomplete?
j
We don't have a React example for autocomplete, but here's a vanilla js version that you might be able to adapt: https://github.com/typesense/typesense-autocomplete-demo
b
Ah yeah, I was messing around with this and wasn't quite able to get it working correctly.
j
How about this one: https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/autocomplete/react/ You should be able to use that along with the typesense-instantsearch-adapter to get it to work with Typesense
b
Having a hard time getting it set up
Is there an easy quick-start version somewhere?
I had typesense set up with the basic demo and was getting hits with a searchbox
b
I've been using SearchBox from react-instantsearch-dom. Is that new Autocomplete component able to replace that SearchBox?
j
Based on the link above, it sounds like it
b
Thanks
How can I have a dropdown menu that I can select from though? This doesn't seem to do that.
Still not sure how to get this integrated
Is there a non-typescript version somewhere? I don't want to use typescript in my project.