Computer Science, asked by yashdwivedi113, 1 year ago

Difference between stateless and stateful components in react

Answers

Answered by saurabhkashyap2551
1

The literal difference is that one has state, and the other doesn't. That means the stateful components are keeping track of changing data, while stateless components print out what is given to them via props, or they always render the same thing. Notice the stateless component is written as a function.

I hope its help you

plz mark as brainlist ☺️

follow me

Similar questions