1. 程式人生 > 實用技巧 >StoreModule.forFeature(‘example‘, reducers)執行時的資料結構

StoreModule.forFeature(‘example‘, reducers)執行時的資料結構

StoreModule.forFeature(‘example’, reducers)執行時的資料結構

在core.js裡找到R3Injector.injectorDefTypes:

injectorDefTypes是一個set,檢視裡面的entries:

要獲取更多Jerry的原創文章,請關注公眾號"汪子熙":