How to use the redoodle.loggingMiddleware function in redoodle

To help you get started, we’ve selected a few redoodle examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github fawind / notes / app / src / store / index.ts View on Github external
export function configureStore(): Store {
  return createStore(
    reduceCompoundActions(RootReducer),
    initialState,
    compose(
      applyMiddleware(
        thunkMiddleware,
        loggingMiddleware({ enableInProduction: false }),
      ),
    ) as StoreEnhancer,
  );
}