Looking at the forum, it seems no one is using this newer (?) notation, was the course updated while I was going through the motions? Feeling very lost!
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.