ClerkProvider

The ClerkProvider component wraps your React application to provide active session and user context to Clerk's hooks and other components.

Props

Name

Description

frontendApi

string

The frontend API host for your instance. This can be found in your clerk Dashboard.

navigate?

(to: string) => Promise<any> | void

A function which takes the destination path as an argument and performs a "push" navigation.

Usage

The ClerkProvider component must be added to your React entrypoint. For more information, please reference the Installation guide:

‚Äč

Contents
Props
Usage