Skip to content

mitterio/mitter-react-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To run this application, you need to get an application id from the mitter.io panel.

Then run the application:

git clone [email protected]:mitterio/mitter-react-starter.git
cd mitter-react-starter

yarn install
yarn start

The mitter instance is created in index.js from where you can set the authorization as per for your application flow.

The ChannelComponent that was described in the tutorial is also included in this pacakge if you wish to use it. To do so,

import ChannelComponent from './ChannelComponent'

class MyComponent extends React.Component {
    render() {
        return(
            <ChannelComponent
                mitter={...}
                loggedUser={...}
                channelMessages={...}
            />
        )
    }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published