MCPcopy Create free account
hub / github.com/plotly/dash / appLifecycle

Function appLifecycle

dash/dash-renderer/src/reducers/appLifecycle.js:4–11  ·  view source on GitHub ↗
(state = getAppState('STARTED'), action)

Source from the content-addressed store, hash-verified

2import {getAppState} from './constants';
3
4function appLifecycle(state = getAppState('STARTED'), action) {
5 switch (action.type) {
6 case getAction('SET_APP_LIFECYCLE'):
7 return getAppState(action.payload);
8 default:
9 return state;
10 }
11}
12
13export default appLifecycle;

Callers

nothing calls this directly

Calls 2

getAppStateFunction · 0.90
getActionFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…