Difference between stateless and stateful components in react
Answers
Answered by
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
Social Sciences,
6 months ago
Environmental Sciences,
1 year ago
English,
1 year ago
Physics,
1 year ago