Documentation
useSSRStatus
useSSRStatus() returns information about whether SSR data was used for consent manager initialization. This is primarily useful for debugging SSR data flow in Next.js or other server-rendering frameworks.
Return Value
AutoTypeTable Error
No type data generated. Verify the path/name and ensure the file is readable from the configured basePath.
Path: ./packages/react/src/hooks/use-ssr-status.ts
Name: SSRStatus
Info
Must be used within a ConsentManagerProvider. Throws if used outside the provider context.