Dipankar Maikap
06/10/2022, 10:23 PMClearRefinements
will not work as I want to clear all then add the clicked menu value). I'm using react-instantsearch-dom
. Also does typesense works with react-instantsearch-hooks
?Jason Bosco
06/10/2022, 10:31 PMconnectCurrentRefinements
to do this. This method seems to clear all the refinements programmatically: https://www.algolia.com/doc/api-reference/widgets/clear-refinements/react/#connector-param-provided-refine
Also does typesense works with react-instantsearch-hooksI think it will, since what the adapter does is replace the Algolia search client with typesense's search client. Everything else is handled by instantsearch. Let me know if you run into any typesense specific issues if you get a chance to try it out