Minimally loading example.
This commit is contained in:
@@ -9,7 +9,7 @@ const persistConfig = {
|
||||
key: "root",
|
||||
storage: AsyncStorage,
|
||||
// whitelist: ["photos"],
|
||||
blacklist: ["user"],
|
||||
blacklist: ["user",], // Add reducers you do NOT want to persist
|
||||
};
|
||||
|
||||
const rootReducer = combineReducers({
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
import { applyMiddleware, compose, createStore } from "redux";
|
||||
import { persistStore } from "redux-persist";
|
||||
import { createLogger } from "redux-logger";
|
||||
import createSagaMiddleware from "redux-saga";
|
||||
import rootReducer from "./root.reducer";
|
||||
import rootSaga from "./root.saga";
|
||||
|
||||
import rootReducer from "./root.reducer";
|
||||
const createSagaMiddleware = require('redux-saga').default;
|
||||
const sagaMiddleWare = createSagaMiddleware();
|
||||
|
||||
const middlewares = [sagaMiddleWare];
|
||||
@@ -20,8 +19,8 @@ if (process.env.NODE_ENV === "development") {
|
||||
const composeEnhancers =
|
||||
typeof window === "object" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__
|
||||
? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({
|
||||
// Specify extension’s options like name, actionsBlacklist, actionsCreators, serialize...
|
||||
})
|
||||
// Specify extension’s options like name, actionsBlacklist, actionsCreators, serialize...
|
||||
})
|
||||
: compose;
|
||||
|
||||
const enhancer = composeEnhancers(
|
||||
|
||||
@@ -109,7 +109,7 @@ export function* signInSuccessSaga({ payload }) {
|
||||
try {
|
||||
// Analytics.setUserId(payload.email);//JF:commenting out the firebase analytics portion
|
||||
//Sentry.setUser({ email: payload.email });
|
||||
|
||||
|
||||
const shop = yield client.query({ query: QUERY_BODYSHOP });
|
||||
logImEXEvent("imexmobile_sign_in_success", payload);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user