Function NextHydrationGuard

  • A guard that prevents rendering of a component until the data is ready. This is useful for server-side rendering, where the data may not be available immediately.

    Parameters

    • __namedParameters: {
          children: ReactNode;
          data: unknown;
          fallback?: ReactNode;
      }
      • children: ReactNode
      • data: unknown
      • Optional fallback?: ReactNode

    Returns null | string | number | true | Iterable<ReactNode> | Element

    The component to render.

Generated using TypeDoc