npm
or yarn
to install the Clerk React module.ClerkProvider
allows you to render Clerk Control Components and access the available Clerk React hooks in any nested component. You'll have to wrap your application once with a <ClerkProvider/>
.<ClerkProvider/>
component at the root of your React app so that it is available everywhere you need it.<ClerkProvider/>
first you need to locate the entry point file of your React Native app. In Expo, this is usually your src/App.js
.tokenCache
prop in your <ClerkProvider/>
as shown below.