Hooks

Discover all the hooks available in the React SDK.

The React 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 provide access to the SDK instance.
useEvaluationLearn how to evaluate a CQL query using hooks.
useContentLearn how to fetch content using hooks.