MCPcopy Index your code
hub / github.com/triggerdotdev/trigger.dev / useFeatures

Function useFeatures

apps/webapp/app/hooks/useFeatures.ts:5–9  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3import type { TriggerFeatures } from "~/features.server";
4
5export function useFeatures(): TriggerFeatures {
6 const routeMatch = useTypedRouteLoaderData<typeof loader>("root");
7
8 return routeMatch?.features ?? { isManagedCloud: false, v3Enabled: false, alertsEnabled: false };
9}

Callers 11

ConnectToOAuthFormFunction · 0.90
UpdateOAuthFormFunction · 0.90
AccountSideMenuFunction · 0.90
SideMenuFunction · 0.90
UserMenuFunction · 0.90
V3ProjectSideMenuFunction · 0.90
PageFunction · 0.90
NewOrganizationPageFunction · 0.90
PageFunction · 0.90
NewOrganizationPageFunction · 0.90
PageFunction · 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…