Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Updating seachClient keeps the api working with the previous client/apikey #975

Open
Intz2010 opened this issue Oct 22, 2022 · 0 comments
Open

Comments

@Intz2010
Copy link

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

@Intz2010 Intz2010 changed the title Replace seachClient keep the api working with the previous one Updating seachClient keeps the api working with the previous client/apikey Oct 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant