reading-notes

Class 2

Back to home page

React lifecycle

Q. Based off the diagram, what happens first, the ‘render’ or the ‘componentDidMount’?

Q. What is the very first thing to happen in the lifecycle of React?

Q. Put the following things in the order that they happen: componentDidMount, render, constructor, componentWillUnmount, React Updates

Q. What does componentDidMount do?

React state vs props

Q. What types of things can you pass in the props?

Q. What is the big difference between props and state?

Q. When do we re-render our application?

Q. What are some examples of things that we could store in state?

Things I want to know more about

I want to look more into the semantics of state and props and how they differ from eachother.