This final project for Xtern Bootcamp 2018 Session 3.
- Set the current room when you click a room in the sidebar.
- Sync the list of rooms with firebase (using
base.syncState()).
- Sync each room's messages seperately.
- Add a form to create a new room.
ALL HYPER FIGHTING, ALL THE TIME!
- Add the re-base package to your project. At the command-line, type:
yarn add re-baseConfirm that re-base is now listed under dependencies in package.json.
- Update
base.jsto initialize and exportRebase.
Hint: export default Rebase.createClass(db)
- Use
base.syncState()to sync your messages with Firebase.
- Create and style more components, based on the
chat-staticcontent. There should be approximately one css file per component.
- Make a
SignIncomponent with a form that taks a user name or email. - When the form is submitted, save that user in the
stateof theAppcomponent. - When
state.useris not set, show theSignIncomponent. - When
state.useris set, show theMaincomponent.