You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The API and components is more stable or the error is more descriptive.
Additionally, please help me handle the null cases. I’ve encountered many instances and had to add the '?' symbol. This is quite frustrating.
The text was updated successfully, but these errors were encountered:
It seems to me like you're passing an uninitialised client to the Chat component around the ThreadList. The ThreadManager encapsulated in client.threads is initialised whenever the client is initialised.
Can you confirm that client.threads exists ?
If it does not, are you by any chance installing the stream-chat library as well for some reason ? If that's the case you would also need to bump it to reflect the version used in version 5.41.1 of the React Native SDK.
Issue
Describe your issue here
TypeError: Cannot read property 'state' of undefined
Steps to reproduce
Steps to reproduce the behavior:
<Chat client={chatClient}> <ThreadList isFocused={isFocused} /> </Chat>
Expected behavior
The API and components is more stable or the error is more descriptive.
Additionally, please help me handle the null cases. I’ve encountered many instances and had to add the '?' symbol. This is quite frustrating.
The text was updated successfully, but these errors were encountered: