> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dynamic.xyz/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Hooks Introduction

> [card] Recommended: JavaScript SDK with React Hooks
>
> For new React apps, we recommend the JavaScript SDK with React Hooks (`@dynamic-labs-sdk/react-hooks`) instead of the legacy React SDK documented here. The JS SDK comes with many benefits such as a much smaller bundle size and other optimizations. Use the [React quickstart (JavaScript SDK)](https://docs.dynamic.xyz/docs/javascript/reference/react-quickstart.md) to get started.

Dynamic offers many different custom [React hooks](https://react.dev/learn/reusing-logic-with-custom-hooks#extracting-your-own-custom-hook-from-a-component) for different tasks within your code.

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

```jsx theme={"system"}
import { useDynamicContext } from '@dynamic-labs/sdk-react-core'
```

We've grouped the hooks into the following categories:

* [Login & User Management](https://docs.dynamic.xyz/docs/react/reference/hooks/login-user-management)
* [Embedded Wallets](https://docs.dynamic.xyz/docs/react/reference/hooks/embedded-wallets)
* [Wallets](https://docs.dynamic.xyz/docs/react/reference/hooks/wallets)
* [Funding](https://docs.dynamic.xyz/docs/react/reference/hooks/funding)
* [Other](https://docs.dynamic.xyz/docs/react/reference/hooks/hooks-introduction.md)

The most important hook is [useDynamicContext](https://docs.dynamic.xyz/docs/react/reference/hooks/usedynamiccontext.md) which gives you access to the full context which is initially set via the `DynamicContextProvider` component, so we've kept that separate.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.