Always use static/cached selectors in useSelector
This commit is contained in:
parent
d85a1d5074
commit
1e275a917c
13 changed files with 105 additions and 70 deletions
|
@ -10,3 +10,5 @@ export const getHasInitialLoadCompleted = createSelector(
|
|||
getApp,
|
||||
({ hasInitialLoadCompleted }) => hasInitialLoadCompleted
|
||||
);
|
||||
|
||||
export const getAppView = createSelector(getApp, ({ appView }) => appView);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue