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

provider field values do not update on changes #3022

Closed
kenzieschmoll opened this issue May 13, 2021 · 3 comments
Closed

provider field values do not update on changes #3022

kenzieschmoll opened this issue May 13, 2021 · 3 comments

Comments

@kenzieschmoll
Copy link
Member

In this example, I am looking at the _value field of the matchIndex ValueNotifier. In the connected app (which is another instance of DevTools running on the web), I perform some interactions that will result in matchIndex.value changing. The value displayed in the provider page does not change. If I select a different provider and then come back and re-select the original provider, the correct value is shown in the _value field.

Screen Shot 2021-05-13 at 3 08 17 PM

@rrousselGit @jacob314
@kenzieschmoll
Copy link
Member Author

If it is not feasible to listen for changes to a provided object's data, perhaps we could add a force refresh button to allow a user to update the data on the provider?

@rrousselGit
Copy link
Contributor

Listening to the objects should be feasible.

I can see the value in a refresh button anyway as users may write custom listenable classes.

Alternatively, we could try and refresh things every x seconds?

@elliette
Copy link
Member

Now that the Provider panel is a DevTools extension, I'm closing this issue in favor of rrousselGit/provider#883.

@elliette elliette reopened this Aug 21, 2024
@elliette elliette closed this as not planned Won't fix, can't repro, duplicate, stale Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants