Join Carl Peaslee for an in-depth discussion in this video Exercise files, part of React: Lifecycles.
- [Instructor] During this course, you'll occasionally see me make reference to these exercise files. On the course site, you can download these. For each chapter and each video, I'll have a version of the application we're building from both the start and the end. We also have a copy of the final project. At certain points throughout the course, we'll copy and paste files from our final project into our course. Lastly, I want to make a few notes about node nodules and Git repositories. You'll see that, within each end or start folder, we have a version of the course, but that it doesn't include a .git file or node modules.
That means if you navigate right into one of these folders and you want to run it, you're going to need to make sure you do NPM install or Yarn install. Also, if you want to deploy one of these modules to your Git repository, you're going to have to do your own git and nit. Alright, so there's an overview of our exercise files. I hope they help you throughout this course.
Carl Peaslee helps you build a number of small reusable components that will be useful in future projects. Along the way, he discusses the syntax and uses of lifecycle methods, how state affects React lifecycles and your apps, and how to set static display name, default props, and initial state. Plus, learn how to gather performance data and improve performance by minimizing component updates.
- Overview of React lifecycles
- Initial state
- Default props
- Mounting: componentWillMount, componentDidMount, and render
- Updating: shouldComponentUpdate, componentWillUpdate, and componentDidUpdate
- Controlling component updates
- Using react-addons-perf to get performance data