MCPcopy Create free account
hub / github.com/weaveworks/scope / isStoreViewStateEnabled

Function isStoreViewStateEnabled

client/app/scripts/utils/router-utils.js:43–45  ·  view source on GitHub ↗
(state)

Source from the content-addressed store, hash-verified

41}
42
43export function isStoreViewStateEnabled(state) {
44 return state.get('storeViewState');
45}
46
47function shouldReplaceState(prevState, nextState) {
48 // Opening a new terminal while an existing one is open.

Callers 2

getRouterFunction · 0.90
updateRouteFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…