We are using ReactInstant search default widgets f...
# community-help
u
We are using ReactInstant search default widgets for filtering and also need some widgets that show as only available in the React Hook Form version of Instant search. - How can we convert the widgets that are only available on the React Hook Form version? Can they be used interchangeably? https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/facet-dropdown/js/ -Also, how do we stop the search results from populating in the background while they are checking off filtering criteria? We want it to only show the search results after clicking the show results button at the bottom of our filtering form.
j
How can we convert the widgets that are only available on the React Hook Form version? Can they be used interchangeably?
Unfortunately this is not possible: Source - https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/react-hooks/#:~:text=React%20InstantSearch%20and%20React%20InstantSearch,with%20the%20React%20InstantSearch%20components
Also, how do we stop the search results from populating in the background while they are checking off filtering criteria? We want it to only show the search results after clicking the show results button at the bottom of our filtering form.
You would have to build a custom widget to do this, similar to what’s described here: https://www.algolia.com/doc/guides/building-search-ui/going-further/improve-performance/react-hooks/#turn-off-search-as-you-type
u
If the React Instantsearch and React Hook are not interchangeable: • What can we do if we need some UI widgets that are currently only provided as being available in the React Hook form version? • Can we have some widgets that are on React Instantsearch and others with React Hook form and run them together at the same time within one filtering form?
j
I’d recommend asking these questions in the instantsearch github repo, since it’s a separate project. But my hunch is that if you want to use widgets from the hooks version of instantsearch, you would have to switch all widgets to the hooks version.
u
Thank you.