Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions docusaurus/docs/reactnative/basics/client.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ const client = StreamChat.getInstance('api_key');
**Usage of `StreamChat.getInstance()` available since [email protected].**

<br />
This new Singleton pattern allows you to instantiate a unique StreamChat client, i.e create a StreamChat instance and
retrieve it wherever you need it on your app to perform API calls. After calling it once, any following <code>
This new Singleton pattern allows you to instantiate a unique StreamChat client, i.e create a StreamChat instance and retrieve
it wherever you need it on your app to perform API calls. After calling it once, any following <code>
getInstance
</code> call will return the initial StreamChat instance. This will prevent you from accidentally creating multiple
StreamChat instances, opening multiple WebSockets, and driving up your concurrent connections unnecessarily.
</code> call will return the initial StreamChat instance. This will prevent you from accidentally creating multiple StreamChat
instances, opening multiple WebSockets, and driving up your concurrent connections unnecessarily.
<br />
<br />

Expand Down
Loading