MCPcopy Index your code
hub / github.com/plotly/dash / getAppState

Function getAppState

dash/dash-renderer/src/reducers/constants.js:1–11  ·  view source on GitHub ↗
(state)

Source from the content-addressed store, hash-verified

1export function getAppState(state) {
2 const stateList = {
3 STARTED: 'STARTED',
4 HYDRATED: 'HYDRATED',
5 DESTROYED: 'DESTROYED'
6 };
7 if (stateList[state]) {
8 return stateList[state];
9 }
10 throw new Error(`${state} is not a valid app state.`);
11}

Callers 5

hydrateInitialOutputsFunction · 0.90
appLifecycleFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…