多项选择题

A.保持接口小,props数量要少
B.根据数据边界来划分组件,充分利用组合(composition)
C.把state往上层组件提取,让下层组件只需要实现为纯函数
D.以上都不对