# useCreatePollContext

A hook that returns the [`CreatePollContext` value](/chat/docs/sdk/react-native/contexts/create-poll-context#value/).

## Best Practices

- Use this hook only within poll creation flows inside `Channel`.
- Treat context values as source of truth for form state.
- Avoid duplicating poll draft state in local component state.
- Validate required fields before calling send actions.
- Handle missing context (null) safely in custom flows.


---

This page was last updated at 2026-03-12T14:13:08.517Z.

For the most recent version of this documentation, visit [https://getstream.io/chat/docs/sdk/react-native/hooks/poll/use-create-poll-context/](https://getstream.io/chat/docs/sdk/react-native/hooks/poll/use-create-poll-context/).