Redux 展示组件仅适用于顶级组件?

Redux Presentational Components only for top level components?

我想知道 Presentational Components 是否应该只在顶级组件中使用?

例如:我有组件 Layout,其中包括更深层次的组件,例如 SidebarContent,向前 Content 组件包括组件 HeaderConversation.

每个组件(不包括布局和内容)都应该作为展示组件连接起来吗?

+----------------------+
|         LAYOUT       |
|+---+-----------------+
|| S |     CONTENT     |
|| I |+---------------+|
|| D ||    HEADER     ||
|| E |+---------------+|
|| B ||               ||
|| A || CONVERSATION  ||
|| R ||               ||
|+---++---------------+|
+----------------------+

没有明确定义需要什么类型的组件presentational/container,我更喜欢smart/dumb。

这完全取决于您如何处理其中的数据绑定和操作处理

来自丹·阿布拉莫夫 Presentational and Container Components

When to Introduce Containers?
I suggest you to start building your app with just presentational components first. Eventually you’ll realize that you are passing too many props down the intermediate components. When you notice that some components don’t use the props they receive but merely forward them down and you have to rewire all those intermediate components any time the children need more data, it’s a good time to introduce some container components. This way you can get the data and the behavior props to the leaf components without burdening the unrelated components in the middle of the tree.