Updating seachClient keeps the api working with the previous client/apikey
Intz2010 opened this issue · 0 comments
Intz2010 commented
How to reproduce?
Using the base example of instant search with config object .
The config object includes the search clinet .
But when I change the searchClient (by call to algoliasearch with different params) or the config object . The client did not changed .
So the next requests will still based on the previous apiKey abd previous searchClient
Is there any solution without rendering whole page ?
I have tried to stop the cache mechanism that I saw in previous question but this is will not change the search client
Thanks