Classic react or react hooks? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Classic react or react hooks?

what should i choose, the classic react or react hooks?

4th Feb 2020, 1:31 PM
Yasser Arce
Yasser Arce - avatar
7 Answers
+ 4
Hooks
4th Feb 2020, 2:05 PM
Gordon
Gordon - avatar
+ 2
Pls what's the difference? practically...
6th Feb 2020, 11:35 PM
Toby Chidi
Toby Chidi - avatar
0
Thanks Gordon 👍
4th Feb 2020, 2:06 PM
Yasser Arce
Yasser Arce - avatar
0
I don't really know, I'm still learning the basics
6th Feb 2020, 11:51 PM
Yasser Arce
Yasser Arce - avatar
0
But I think the difference is that in the classic, classes are used and in hooks, components are used (my original language is Spanish, i'm learning English, xD)
6th Feb 2020, 11:53 PM
Yasser Arce
Yasser Arce - avatar
0
hooks
19th Jun 2020, 6:01 AM
mohammad hossein rouhani
mohammad hossein rouhani - avatar
0
definitly react hook , it is amaizing and very clear then class method, and also almost all of react developer work with function component and hook just work with functinal component
27th Nov 2020, 9:22 PM
Mostafa
Mostafa - avatar