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

Use Vue's new effect scopes to improve efficiency #6

Open
samatechtw opened this issue Aug 10, 2021 · 0 comments
Open

Use Vue's new effect scopes to improve efficiency #6

samatechtw opened this issue Aug 10, 2021 · 0 comments

Comments

@samatechtw
Copy link
Collaborator

Vue 3.2 introduces a new effect scope API for library authors. We can use it to help improve the vue3-eth API - currently each page needs to call reconnectWallet on mount, and there isn't a great way to clean up memory if no longer needed. With an effect scope it should be easy to do initialization once and make it available across the SPA.

Tasks

  • Upgrade to Vue 3.2
  • Use effect scope to improve reconnect/disconnect API and performance
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

0 participants