Skip to content

@uservane/react: UserVaneProvider

UserVaneProvider(__namedParameters): ReactNode

Defined in: react/src/provider.tsx:28

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