MCPcopy
hub / github.com/nytimes/react-tracking / exampleMethod

Function exampleMethod

src/__tests__/hooks.test.js:469–471  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

467 const { trackEvent } = useTracking(testDataContext, { dispatch });
468
469 const exampleMethod = () => {
470 trackEvent({ booleanState });
471 };
472
473 exampleMethod();
474 return <div />;

Callers 1

TestOptionsFunction · 0.85

Calls 1

trackEventFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…