Difference between component and container in react redux
Components
Components let you split the UI into independent, reusable pieces, and think about each piece in isolation. They are sometimes called "presentational components" and the main concern is how things look
Containers
Containers are just like components without UI and Containers are concerned with how things work.. It mainly talks to the redux store for getting and updating the data
see the table comparison from Redux doc
Detailed explanation https://redux.js.org/basics/usage-with-react#presentational-and-container-components
Component
is part of the React API. A Component is a class or function that describes part of a React UI.
Container is an informal term for a React component that is connect
-ed to a redux store. Containers receive Redux state updates and dispatch
actions, and they usually don't render DOM elements; they delegate rendering to presentational child components.
For more detail read presentational vs container components by Dan Abramov.