This is documentation for
Stream Chat React Native SDK v4, which is nolonger actively maintained. For up-to-date documentation, see the latest version (v5).
Technologies & Techniques
Typescript Generics
Our SDK is written in Typescript and heavily uses generics in order to allow users to use custom data and still have decent typing support.
React Context
We rely on multiple contexts in our SDK to access components, functions, and data. Context also allows you as a developer to override our defaults for many of these throughout the SDK. Understanding how to draw upon values in context is important to customizing the SDK for your own needs.
React Hooks
We use/expose a bunch of our component’s hooks so users can use them in order to replicate some behaviour/data parsing when creating custom components. Understanding how to work with hooks can come in very handy.
On this page: