MCPcopy
hub / github.com/growthbook/growthbook / useDefinitions

Function useDefinitions

packages/front-end/services/DefinitionsContext.tsx:141–143  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

139}
140
141export function useDefinitions() {
142 return useContext(DefinitionsContext);
143}
144
145export const LOCALSTORAGE_PROJECT_KEY = "gb_current_project" as const;
146

Callers 15

ProjectBadgesFunction · 0.90
HistoryTableFunction · 0.90
AutoGenerateMetricsModalFunction · 0.90
ProjectNameFunction · 0.90
NewHoldoutFormFunction · 0.90
HoldoutSelectFunction · 0.90
IdentifierChooserFunction · 0.90
PopulationChooserFunction · 0.90
MetricAnalysisFunction · 0.90
SegmentFormFunction · 0.90
FactSegmentFormFunction · 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…