This example shows how to use an external autocomplete component with react-instantsearch
It uses react-autosuggest as the autocomplete external component.
You will find two use cases:
- How to build an autocomplete displaying hits from different indices
- How to build @-mentions using ant as the external component
Clone the example
curl https://codeload.github.com/algolia/react-instantsearch/tar.gz/master | tar -xz --strip=2 react-instantsearch-master/examples/autocomplete
Start the example
yarn install --no-lockfile
yarn start
Read more about react-instantsearch in our documentation.