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