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

Local Store Improvements #420

Open
anselvo opened this issue Apr 5, 2024 · 0 comments
Open

Local Store Improvements #420

anselvo opened this issue Apr 5, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers refactoring Something that is good to change
Milestone

Comments

@anselvo
Copy link
Contributor

anselvo commented Apr 5, 2024

We should either migrate to some solution from the internet or improve current one. Problem with current one when you take basically any value from the store it will rerender everyone who is subscribed to it. One of the possible solutions here to move which field you wanna take from the store to the store hook - useStore(state => state.activeCluster). It will prevent rerendering for others, because it knows to what it subscribe to.

@anselvo anselvo added this to the 1.4.0 milestone Apr 5, 2024
@anselvo anselvo added enhancement New feature or request good first issue Good for newcomers refactoring Something that is good to change labels Apr 5, 2024
@anselvo anselvo moved this to 📋 Backlog in Ivory Backlog Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers refactoring Something that is good to change
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant