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

Remove store variable for better performance #48

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Remove store variable for better performance #48

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Jun 17, 2020

As long as a view has a reference to global store. Any update on store from other places will force to refresh the view.

On the other hand, in order to dispatch an action, we have to use global store within a view. So i think it's a drawback of this structure.

@ericlewis
Copy link

I think that is only true if (directly or indirectly) referenced in a body

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

Successfully merging this pull request may close these issues.

2 participants