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

Improve state updating strategy #15

Open
noomly opened this issue Jul 21, 2022 · 0 comments
Open

Improve state updating strategy #15

noomly opened this issue Jul 21, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@noomly
Copy link
Contributor

noomly commented Jul 21, 2022

The current strategy of fetching new data from the snap is very naive and feels buggy as some data doesn't update when we expect them to unless we refresh the page.

Steps to reproduce an example of this behavior:

  1. Uninstall Arsnap from Metamask if previously already configured
  2. Visit arsnap.org and click "Connect to Metamask"
  3. Without refreshing the page, navigate to the "Permissions" page
  4. Nothing is showing
  5. Refresh the page
  6. Permissions required by the wallet are now showing
@noomly noomly added the enhancement New feature or request label Jul 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant