-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tidy up the mock / live choice code in example app
- Represent “you only need to provide key and clientId if you’re using the live mode” using the type system. - Simplify the client creation and state management (no need to create clients that we aren’t going to use). - Make it clear that the view works with (well, will work with, once we no longer have to think about which features we’ve implemented) anything that conforms to the `ChatClient` interface.
- Loading branch information
1 parent
82cb9ff
commit 38e7bc0
Showing
1 changed file
with
32 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters