Dynamic offers many different custom React hooks for different tasks within your code.

You can import them directly from the @dynamic-labs/sdk-react-core package, for example:

import { useDynamicContext } from '@dynamic-labs/sdk-react-core'

We’ve grouped the hooks into the following categories:

The most important hook is useDynamicContext which gives you access to the full context which is initially set via the DynamicContextProvider component, so we’ve kept that separate.