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

Function addComponentToLayout

dash/dash-renderer/src/actions/index.js:42–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42export const addComponentToLayout = payload => (dispatch, getState) => {
43 const {paths} = getState();
44 dispatch(insertComponent(payload));
45 dispatch(
46 setPaths(computePaths(payload.component, payload.componentPath, paths))
47 );
48};
49
50export const dispatchError = dispatch => (message, lines) =>
51 dispatch(

Callers 1

ExternalWrapperFunction · 0.90

Calls 2

computePathsFunction · 0.90
getStateFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…