Hooks

Explore 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
useCroctProvide access to the SDK instance.
useEvaluationEvaluate a CQL query in real-time.
useContentFetch the content of a slot.