Stream’s React SDK Migrates to TypeScript

Tess G.
Tess G.
Published April 5, 2021

We are excited to announce that our newest version of Stream's React SDK has been fully converted to TypeScript. Therefore, you can find guaranteed type-safety for code throughout this SDK, making it easier to read and debug.

Additionally, these recent upgrades allow the use of a versatile and valuable tool for creating reusable components, also known as generics. Users are now able to create a component that can work over a multitude of types rather than a single one, permitting user-provided typings to pass through server responses, custom components, filters, etc. The documentation on this new release contains examples of how TypeScript can use inference from a provided prop to infer the utilized generics.

We hope this improved library that allows for fully typed responses through the use of user-defined types enhances your experience with Stream Chat SDK.

Happy coding!

Additional Resources:

Activate your free Stream Chat trial to start building today. Qualifying small teams and personal dev projects can also sign up for the free Stream Maker Account.

decorative lines
Integrating Video With Your App?
We've built an audio and video solution just for you. Launch in days with our new APIs & SDKs!
Check out the BETA!