表示約定
A:[B] 表示A組件包含B組件
A:[B C] 表示A組件包含B組件和C組件
命名約定
ComponentR:[Component:[ComponentV]]
其中 ComponentR
為Restful接口的組件,例如
<BrowserR url="/items"/>
Component
為使用function接口的組件,例如
<Browser fetchItems={fetchItems}/>
Browser V
為接受數(shù)據(jù)养泡,用于顯示的組件嗜湃,例如
<BrowserV items={items}/>