DEV Community

Discussion on: ReactJS — Basics for Beginners.

Collapse
 
shaijut profile image
Shaiju T

Nice 😄, to the point. One Question: you said With the introduction of React Hooks, functional components are now being used on a large scale.

So that means in React Hooks we can use Logical and Presentational components or only one ?

Collapse
 
gurshehzadsingh profile image
Gurshehzad Singh

You can use logic in form of functional components. Earlier you couldn't manage state using Functional components nad class components require use of return and this keywords. But with hooks, functional components can manage state and they require lesser code.