Add stacktraces do redux devtools
authorDaniel Kos <unodgs@gmail.com>
Thu, 20 Dec 2018 18:16:53 +0000 (19:16 +0100)
committerDaniel Kos <unodgs@gmail.com>
Thu, 20 Dec 2018 18:16:53 +0000 (19:16 +0100)
Feature #14348

Arvados-DCO-1.1-Signed-off-by: Daniel Kos <unodgs@gmail.com>

src/store/store.ts

index 14a6ba11d7651930b878919fa3f3f5d2bb54205a..4ad7ca45f3f5c25b4446ab22eafa4909a4835597 100644 (file)
@@ -60,7 +60,7 @@ import { ComputeNodeMiddlewareService } from '~/store/compute-nodes/compute-node
 
 const composeEnhancers =
     (process.env.NODE_ENV === 'development' &&
-        window && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__) ||
+        window && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({trace: true, traceLimit: 25})) ||
     compose;
 
 export type RootState = ReturnType<ReturnType<typeof createRootReducer>>;