@uservane/react: UserVaneProvider
Function: UserVaneProvider()
Section titled “Function: 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.initexactly once (module guard survives StrictMode remounts). - SSR-safe: no
window/documentaccess at import; init runs in an effect. - Wraps children in an internal error boundary so UserVane render failures never reach the host tree.
Parameters
Section titled “Parameters”__namedParameters
Section titled “__namedParameters”Returns
Section titled “Returns”ReactNode