Skip to content

Conversation

cjcenizal
Copy link
Contributor

Thanks for creating this example @twitchard! I'm using it as a reference for a personal project and and it's been super helpful.

I got a little confused by the use of useEffect to drive connection and mute state because I'm used to seeing a user action map to some kind of change in app state which is then reflected in UI state, rather than an app state change treated as a side effect of a UI state change. This is a small refactor that I think will help folks understand the code and map the patterns to their own code. Feel free to close this if this is inconsistent with the general approach y'all use.

@cjcenizal cjcenizal force-pushed the refactor/react-native-consumer branch from 2362d2c to f0cd646 Compare March 2, 2025 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant