This repository is a set of notes for Kent C. Dodds' excellent Advanced React Component Patterns course.
Separate lessons are broken down into separate Markdown files.
- Write Compound Components
- Make Compound React Components Flexible
- Make Enhanced React Components with Higher Order Components
- Handle prop namespace clashes with Higher Order Components
- Improve debuggability of Higher Order Components
- Handle ref props with Higher Order Components
- Improve Unit Testability of Higher Order Components
- Handle static properties properly with Higher Order Components
- Use Render Props with React
- Use Prop Collections with Render Props
- Use Prop Getters with Render Props
- Use Component State Initializers
- Make Controlled React Components with Control Props
- Implement a React Context Provider
- Implement a Higher Order Component with Render Props
- Rerender Descendants Through shouldComponentUpdate
- Use Redux with Render Props
While these notes may help you in your learning, there is no substitute for watching and interacting with the actual course. It's also important to support folks like Kent who take the time to make these amazing resources. Seriously, get an Egghead subscription, watch the videos, vote with your dollars folks!
If you see an error, don't like the language, or find the code samples confusing please let me know! Open an issue, submit a PR, or get in touch on Twitter @parker_ziegler. This project uses Prettier so we'll take care of the formatting for you on commit!