import ImmutablePureComponent from 'react-immutable-pure-component'; export default class Messaging extends ImmutablePureComponent { // static propTypes = { // following : ImmutablePropTypes.list, // conversations: ImmutablePropTypes.list, // newMessage : ImmutablePropTypes.string, // }; // openConversationWith(account) { // let conversationFound = account; // if conversation exist, focus on it // if (conversationFound) { // // } else { // // } // else, create conversation and focus on it // }; submitCompose() { }; constructor() { super(); // this.props.newMessage = 'meh'; // this.props.conversations = [ // { // withAccount: '@machin', // messages : [], // opened : true, // }, // { // withAccount: '@chuck', // messages : [], // opened : false, // }, // ]; // this.props.following = [ // { username: 'wulfila', handle: '@wulfila' }, // { username: 'machin', handle: '@machin' }, // { username: 'chuck norris', handle: '@chuck' }, // ]; } render() { // const contactlist = null; return (
messagerie todo
); // const contactlist = this.props.following.foreEach(elem => ( //
  • //
    // Machin //
    //
    3 min
    //
  • // )); // return ( //
    //
    //
    // // Messaging box //
    //
    //

    User list

    //
      // {contactlist} //
    //
    // //
    //
    //
      //
    • //
      // // Un Gens // // (3) // //
      //
      //
      //

      oh hello there! 😋

      //
      //
      //
      //

      General Emoji

      //
      //
      //
      //

      we just achieved comedy

      //
      //
      //
      //
      //
      // {/*value={this.newMessage.toString()}*/} //