re: Is there a way to explain hooks without mentioning class component? VIEW POST

VIEW FULL DISCUSSION
 

The same way you could explain classes without explaining Hooks, it’s easier to do the comparison if you already know classes, but for someone new to React there is no reason to mention classes, explains what state is, what useState returns and how to use it.

code of conduct - report abuse