首页 极刻 圈子 教程 开源
标签 presentational 相关标签 a class convention css link

[译]展示组件(Presentational Components)与容器组件(Container Components)

为展示组件/容器组件提供数据与行为。你需要善用这一点。何时引入容器组件?容器组件也可以是无状态的,反之,展示组件也可以有状态。纯组件可以是类组件/函数组件,也可以有状态/无状态。因此展示组件既能包含容器组件也能包含展示组件,容器组件亦然。

willluckysmile 2019-06-21 13:00:44

The power of semantic in CSS

”, and some may go further with “WTF n00b!!

libowen0 2014-01-27 11:26:48

The power of semantic in CSS

”, and some may go further with “WTF n00b!!

zhuizhuizhui 2014-01-27 10:49:21

推荐极客

Blaze Blaze fundebug fundebug 84214254 84214254 86593278 86593278 81701295 81701295 ELEMENTS爱乐冬雨 ELEMENTS爱乐冬雨 89236831 89236831 83206837 83206837

优质内容社区

首页 文章 极刻 开源 标签 关于我们

© 安科网. All rights reserved.