MCPcopy Create free account
hub / github.com/eclipsesource/jsonforms / dispatch

Function dispatch

packages/core/test/mappers/renderer.test.ts:78–83  ·  view source on GitHub ↗
(
    action: T
  )

Source from the content-addressed store, hash-verified

76): [() => JsonFormsCore, Redux.Dispatch<CoreActions>] => {
77 const coreContainer = { core: initialCore };
78 const dispatch: Redux.Dispatch<CoreActions> = <T extends CoreActions>(
79 action: T
80 ): T => {
81 coreContainer.core = coreReducer(coreContainer.core, action);
82 return action;
83 };
84 const getCore = () => coreContainer.core;
85 return [getCore, dispatch];
86};

Callers 7

renderer.test.tsFile · 0.85
handleChangeFunction · 0.85
onChangeFunction · 0.85
onChangeFunction · 0.85

Calls 1

coreReducerFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…