useSearch
A React hook that instantiates your Search Client.
import { useSearch } from 'basehub/react-search'
Arguments
BaseHub Search uses TypeSense on the background. You can check out all the search options on their documentation. Keep in mind that they’re all on camelCase in the useSearch
hook. E.g: filter_by
is listed as filterBy
.
Examples
Documentation: Step by step
Also you can check out our search implementation for this Documentation template on GitHub