I don’t know when something may have been changed, but the difference between the Class components and the function components was explained early in React I (Ithink) that the Class notation is the older way of doing it, and they’re teaching that notation so you’ll know what to do when you see it out in the wild, but then from there on out they were using the newer function notation.
You must have just missed that one explanation page on it.
I also noticed the difference when searching this forum for bugs in my source code. I have decided to use ChatGPT for debugging purpose and it works! I think the reason they have revised to use a JSX expression instead of Class expression is that maybe they want the learners to be familiar with the language commonly used in React app development. Take note that JSX uses combination of JS and HTML syntax while Class uses only JS.
I know Codecademy did an update to the curriculum and changed how components were being taught. I received a notification that you can read here. I had to go back and re-learn all of React I and part of React II. I’m now at the same Video Player and none of this seems familiar…
From the Change Log it appears that the entire State lesson was removed, but now this project uses state, but in a way that was not previously taught. Oof, struggling with this one and admittedly frustrated.
Ok so I’m not crazy, I was like “when did they teach us about use states” as I started doing this one today. Thought I had skipped the state lesson by accident, but I guess others are noticing it’s just not there either.
I have also noticed recently while doing Video Player project and React Programming Patterns quiz that useState() is being casually used like it was introduced before, but it wasn’t. In quiz there were question asking me about useState() and I was blindly answering not having slightest idea what to make of that and now this project came along doing the same thing. Codecademy please fix it!
Same Issue. UseState is being used here before it’s been actually covered in the Path.
I’m doing front-end path as well.
In the new ‘learn React’ Hooks are taught before the video player project but in the front-end path it’s all messed up.
I am not even a subscriber. Just a student playing around with some of the free content.
Usually in the exercises/projects, there is a dropdown menu “Get Unstuck”. One of the options in the menu is to report 'Bugs" or offer comments about the content. You can try that or you can try contacting support/help center with your concerns. Perhaps they may offer some suggestions.