檢查一下都有哪幾處使用到了這個字元串常量:

(1) 定義 State 資料結構:
(2) 用于建立 feature selector,傳入 ROUTING_FEATURE 作為輸入參數:feature name
(3) 在 routing.module.ts 裡,作為 StoreModule.forFeature 和 StoreRouterConnectingModule 的輸入參數。
對于場景3,我們看看 StoreModule.forFeature 調用傳回的類型為ModuleWithProviders 的資料明細。
每個 module 在導入時,會執行其 ts 代碼裡的可執行代碼:
storeModule.forFeature 傳回的資料:
這些 providers 我可以在其他 module 裡使用嗎?
forFeature 的第二個參數必須是 reducer,類型為 ActionReducerMap 或者 ActionReducerMap 的 injection type:
Spartacus 選擇的是後者: