method
Ridu.provide
Create the client for this mounted application and share it with descendants. Call it once, during initialization of the root layout. Server renders get an isolated, credential-free client whose auth.session is the rendered snapshot.
Arguments
| Argument | Type | Description |
|---|---|---|
options | ProvideOptions< | The options value. |
Returns
The declared result.
RiduClient<Config, Slug>Full signature
Ridu.provide(
options?: ProvideOptions<SessionFor<Config, Slug>>,
): RiduClient<Config, Slug>Related types
ProvideOptionsPublic interface ProvideOptions from @riducms/sveltekit.