Get shareable URL from a react-instasearch component

Hey,

Is there any way of getting a shareable URL from a react-instantsearch component?

Use case:
If we build a search component using the react-instantsearch package, and a user wants to share a specific search/filter with another user on our site, how would we get the current search config to be able to route the other user to the exact same search state?

Thanks

Hi @jm1!
There is indeed a way. We have written this guide on the best way to do it. Hope this helps – don’t hesitate to post in this thread if anything isn’t working right!

1 Like