reading-notes

Reading Journal

Understanding React lifecycle methods is crucial as it allows us to manage the various stages of a component’s existence. Distinguishing between state and props is neccessary to effectively control data, with state representing mutable data within a component and props representing immutable data from parent components. This knowledge is essential for maintaining a clear and predictable flow of data in React applications.

Reading

React Lifecycle

1. Based off the diagram, what happens first, the render or the componentDidMount?

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

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

4. What does componentDidMount do?

Videos

React State Vs Props

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

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

3. When do we re-render our application?

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

Things I want to know more about.

I want to get a better understanding of React and how to use it. It seems like React has a very practical purpose which makes it very useful in real world applications.