Introduce base/storage to represent the Web Storage API and persistence-related customizations

This commit is contained in:
Lyubo Marinov
2018-02-02 15:13:26 -06:00
parent 83243d5980
commit d7dddb2509
16 changed files with 93 additions and 72 deletions
+3 -6
View File
@@ -14,11 +14,8 @@ import {
} from '../../base/participants';
import { getProfile } from '../../base/profile';
import { Fragment, RouteRegistry } from '../../base/react';
import {
MiddlewareRegistry,
PersistencyRegistry,
ReducerRegistry
} from '../../base/redux';
import { MiddlewareRegistry, ReducerRegistry } from '../../base/redux';
import { PersistenceRegistry } from '../../base/storage';
import { toURLString } from '../../base/util';
import { OverlayContainer } from '../../overlay';
import { BlankPage } from '../../welcome';
@@ -349,7 +346,7 @@ export class AbstractApp extends Component {
return (
createStore(
reducer,
PersistencyRegistry.getPersistedState(),
PersistenceRegistry.getPersistedState(),
middleware));
}