State and Props

React: Component Lifecycle Events

  1. Based off the diagram, what happens first, the ‘render’ or the ‘componentDidMount’?
  1. What is the very first thing to happen in the lifecycle of React?
  1. Put the following things in the order that they happen: componentDidMount, render, constructor, componentWillUnmount, React Updates
  1. What does componentDidMount do?

React State Vs Props

  1. What types of things can you pass in the props?
  1. What is the big difference between props and state?
  1. When do we re-render our application?
  1. What are some examples of things that we could store in state?