Day 27

Following a tut for React.JS.  This is interesting.
#CodingPhase #TheCodingWay #365CodingPhaseChallenge

**********

getProjects(){
    this.setState({projects: [
      {
        id:uuid.v4(),
        title: 'Business Website',
        category: 'Web Deisgn'
      },
      {
        id:uuid.v4(),
        title: 'Social App',
        category: 'Mobile Development'
      },
      {
        id:uuid.v4(),
        title: 'Ecommerce Shopping Cart',
        category: 'Web Development'
      }
    ]});
  }

  componentWillMount(){
    this.getProjects();
    this.getTodos();
  }

  componentDidMount(){
    this.getTodos();
  }

Comments

Popular posts from this blog

Day 1

Day 365 + 1

Day 365 + 2