MCPcopy Create free account
hub / github.com/Kong/insomnia / useRootLoaderData

Function useRootLoaderData

packages/insomnia/src/root.tsx:185–187  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

183}
184
185export const useRootLoaderData = () => {
186 return useRouteLoaderData<typeof clientLoader>('root');
187};
188
189export async function clientLoader(_args: Route.ClientLoaderArgs) {
190 const settings = await services.settings.get();

Callers 15

MockRouteRouteFunction · 0.90
ComponentFunction · 0.90
ComponentFunction · 0.90
ComponentFunction · 0.90
ComponentFunction · 0.90
DebugFunction · 0.90
RunnerFunction · 0.90
ComponentFunction · 0.90
PresentUsersFunction · 0.90
CommandPaletteComboboxFunction · 0.90

Calls

no outgoing calls

Tested by 1

ComponentFunction · 0.72