Skip to content

@uservane/react: UserVaneProvider

UserVaneProvider(__namedParameters): ReactNode

Defined in: @[email protected]_react@19.2.3/node_modules/@uservane/react/dist/index.d.ts:34

Client-side UserVane provider for React and Next.js App Router.

  • Marked "use client" (and the published bundle carries the same directive).
  • Calls UserVane.init exactly once (module guard survives StrictMode remounts).
  • SSR-safe: no window/document access at import; init runs in an effect.
  • Wraps children in an internal error boundary so UserVane render failures never reach the host tree.

UserVaneProviderProps

ReactNode