I’m looking to integrate Algolia into my existing React App, which already contains many routes and components.
All of the examples require the
<SearchBox/> component to be wrapped inside the
However, my search input will appear site wide and lives inside the header. I was wondering if it was possible to link a search box to
<InstantSearch/> in order to trigger a search.
I understand that I could wrap my entire app under the InstantSearch component but this feels like a really hacky way of doing things.
Or would I be better off using the API wrappers instead?
Thanks for any help,