Component properties.
Optional
context: anyfunction App() {
return (
<FiefAuthProvider
baseURL="https://example.fief.dev"
clientId="YOUR_CLIENT_ID"
>
<div className="App">
<h1>Fief React example</h1>
</div>
</FiefAuthProvider>
);
}
Generated using TypeDoc
Provide the necessary context for Fief, especially the Fief client and user session state.
Every component nested inside this component will have access to the Fief hooks.