SAP Commerce Cloud Spartacus UI 读取 Component 元数据的 Action 设计
生活随笔
收集整理的這篇文章主要介紹了
SAP Commerce Cloud Spartacus UI 读取 Component 元数据的 Action 设计
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
先看數(shù)據(jù):該 page 包含了 35 個 Components:
可以看到這些 Components 屬于 homepage,但是 payload 字段里,只包含了 35 個 Components 其中的一個:
這里體現(xiàn)了高階 reducer 的設(shè)計:
根據(jù) entity Type 拿到新的 reducer,使用新的 reducer 進(jìn)行狀態(tài)遷移并返回新狀態(tài):
這 35個Components 會依次走完上述流程,得到 Component 元數(shù)據(jù):
更多Jerry的原創(chuàng)文章,盡在:“汪子熙”:
總結(jié)
以上是生活随笔為你收集整理的SAP Commerce Cloud Spartacus UI 读取 Component 元数据的 Action 设计的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: oppo手机流量管理在哪里设置(OPPO
- 下一篇: SAP Commerce Cloud S