MovieSwiftUI icon indicating copy to clipboard operation
MovieSwiftUI copied to clipboard

Remove store variable for better performance

Open ghost opened this issue 5 years ago • 1 comments

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.

ghost avatar Jun 17 '20 00:06 ghost

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

ericlewis avatar Jun 23 '20 17:06 ericlewis