Need Help Regarding React Template

Should we use class components or functional components in React?
What is the best approach?

And what should be the folder structure of the whole template?

It’s up to you.

But functional components have more features in React JS.
Also React team is supporting more hooks for functional components.

1 Like

Okay Thank You for help

It’s totally dependent on you. React js is better and there are also lots of more features and functional components in react JS