Info:
This is documentation for Stream Chat React Native SDK v8, which is no longer actively maintained. For up-to-date documentation, see the latest version (v9).

useCreatePollContext

A hook that returns the CreatePollContext 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.
Add Chat to my app: getstream.io/SKILL.md

The fastest way to build with Stream. Start a new project or improve an existing one. Full CLI and documentation integration out of the box.


Ask your agent:

/stream Build me a Social App with Feeds and Moderation.
/stream Any livestream calls running?
/stream Chat React Native v8: <Your Question>