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

TypingContext

TypingContext is provided by Channel and exposed via useTypingContext. It stores users currently typing in the active channel, keyed by user ID.

Best Practices

  • Use typing indicators sparingly to avoid noisy UIs in busy channels.
  • Show only a limited number of typers to keep UI compact.
  • Prefer context data over custom presence tracking.
  • Combine typing state with accessibility-friendly announcements.
  • Avoid polling; rely on real-time typing events from the SDK.

Basic Usage

Pull the value from TypingContext with our custom hook:

const { typing } = useTypingContext();

Values

typing

Users currently typing in the channel, keyed by user ID.

Type
object
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 v13: <Your Question>