Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data is not loading for the api which is dependent on the state of the component whenever it is changed? #119

Open
Parasbuda opened this issue Jun 28, 2022 · 1 comment

Comments

@Parasbuda
Copy link

i'm using the 0.6.1 version of the package and my url is dependent on state of the component?. When changing the state i want to fetch data for that changed state but im unable to do so.Needs information regarding this.

@Parasbuda Parasbuda changed the title How to clear the cached data while opening the menu? Data is not loading for the api which is dependent on the state of the component whenever it is changed? Jun 28, 2022
@speedy4all
Copy link

I think the api url should not trigger a reload, but you can use key prop with the state value on the select component to force the select to render again. Just an idea :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants