Oct '24 • Help
Class Component vs Arrow Function
Why do you have two different function declarations used in challenge 3?
Like App and Form are class components, are the other components not? Why not? I tried replicating the syntax of the arrow function for a Component in Challenge 4 and its wanting me to change the syntax of my class App component which doesn't make sense. it highlights just the keyword "class".
So I'm trying to just code bro, but there's a lot of hiccups in the way. I also don't know what the 4th component would be for Challenge 4. You have an App, CounterList, and a Counter. Why would we need anything else?
4
12 comments
Trey Delcamp
6
Class Component vs Arrow Function
Developer Pro
skool.com/developerpro
Learn how to code. Make money. Have fun. Enjoy life.
Leaderboard (30-day)
Powered by