Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
React Native Stream Group Chat Tutorial: Chat screen constructor
// src/screens/Chat.js
constructor(props) {
const { navigation } = this.props;
this.user_id = navigation.getParam('user_id');
this.username = navigation.getParam('username');
this.user_token = navigation.getParam('user_token');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.