It's a convention to separate components by their nature (statefull, stateless), or in other terms (containers, components), this video explains the difference, as well as some advanced types of composing the two,
but in general, the components that are connected to a store, or use states, are statefull class components, and the ones just displaying data, provided as props are stateless functional components.
in addition to that, checkout this interesting way to structure the project, for better maintainability in the future.
It's a convention to separate components by their nature (statefull, stateless), or in other terms (containers, components), this video explains the difference, as well as some advanced types of composing the two,
but in general, the components that are connected to a store, or use states, are statefull class components, and the ones just displaying data, provided as props are stateless functional components.
in addition to that, checkout this interesting way to structure the project, for better maintainability in the future.