Home / Function/ LazyGraphiQL() — supabase Function Reference

LazyGraphiQL() — supabase Function Reference

Architecture documentation for the LazyGraphiQL() function in page.tsx from the supabase codebase.

Entity Profile

Relationship Graph

Source Code

apps/docs/app/graphiql/page.tsx lines 9–20

  async () => {
    const { GraphiQL: GraphiQLPrimitive } = await import('graphiql')
    const { createGraphiQLFetcher } = await import('@graphiql/toolkit')
    await import('graphiql/style.css')

    return function GraphiQL(props: Omit<ComponentProps<typeof GraphiQLPrimitive>, 'fetcher'>) {
      const fetcher = createGraphiQLFetcher({
        url: 'http://localhost:3001/docs/api/graphql',
      })
      return <GraphiQLPrimitive fetcher={fetcher} {...props} />
    }
  },

Subdomains

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free