Skip to main content

Module: react-clerk

React login component for use with Clerk.

Functions

ConvexProviderWithClerk

ConvexProviderWithClerk(«destructured»): Element

A wrapper React component which provides a ConvexReactClient authenticated with Clerk.

It must be wrapped by a configured ClerkProvider, from @clerk/clerk-react, @clerk/clerk-expo, @clerk/nextjs or another React-based Clerk client library and have the corresponding useAuth hook passed in.

See Convex Clerk on how to set up Convex with Clerk.

Parameters

NameType
«destructured»Object
› childrenReactNode
› clientIConvexReactClient
› useAuthUseAuth

Returns

Element

Defined in

react-clerk/ConvexProviderWithClerk.tsx:38