adspace
What is the difference between a Presentational component and a Container component?
Answer Posted / Sandeep Kumar Chauhan
A Presentational component (also known as Dumb or Stateless Component) is responsible for rendering UI based on its props. It does not manage any state or side effects. A Container component (also known as Smart or Stateful Component) manages state, side effects and data fetching, often by connecting to a data store like Redux.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers