Hooks

Discover all the hooks available in the Next.js SDK.

The Next.js SDK provides hooks to access the SDK's features in a functional way. For a declarative approach, see the Components reference.

Croct's mascot winking
Looking for something specific?

Use the search bar at the top of the page or press / to quickly search through the documentation.

Use the summary below to quickly jump to a specific topic:

PageDescription
useCroctLearn how to access the SDK instance.
useEvaluationLearn how to evaluate a CQL query using hooks.
useContentLearn how to fetch content using a Next.js hook.