kentcdodds / advanced-react-patterns

Learn how to build simple and flexible React Components and Hooks using modern patterns
https://www.epicreact.dev/modules/advanced-react-patterns-v1/advanced-react-patterns-welcome
Other
195 stars 50 forks source link

Video and exercises not matching for `Compound Components` #7

Open D7Torres opened 1 month ago

D7Torres commented 1 month ago

Hi! In the section Compound Components, the video shows a file called unauthenticated-app.exercise.js and it has 2 extra credits.

image

In the source code, the exercise is 02.js, 02.md. It has only one Extra Credit and the code is different.

I believe you wanted to simplify the example and the 02.js version is the good one, but the course is still showing the old video.

kentcdodds commented 1 month ago

Thanks for letting me know! I'll have the team look into it

D7Torres commented 1 month ago

Thank you! Hey, this might help: I just realized that this item (Composed Components) of a later section is already completed (but I didn't complete it).

I suspect it happens because it has the same name.

image