user image

Preeti Tripathi

Job Interview Skills
English
2 years ago

23. What do React's stateful components do?

user image

Abhishek Mishra

2 years ago

In React, a stateful component is a component that holds some state. Stateless components, by contrast, have no state. Note that both types of components can use props. In the example, there are two React components

Recent Doubts

Close [x]