which is the efficient way to write component in react ( functional or class)? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

which is the efficient way to write component in react ( functional or class)?

In almost every interview it is being asked whether I should use functional component or class component. How can I decide that?

18th Aug 2020, 3:28 PM
Priti Mondal
Priti Mondal - avatar
1 Answer