angular-architects / module-federation-plugin

MIT License
683 stars 184 forks source link

Unable to share NgRX state in a multi version angular micro frontend using web component #522

Open Sagar-Kumar-007 opened 1 month ago

Sagar-Kumar-007 commented 1 month ago

I created Micro frontend apps in Angular 16 and its shell in Angular 15. Now I want to have NgRx state shared between its shell and the angular 16 app. When I am running the application I put the StoreModule.ForRoot() inside the shell application app module. I am getting "NullInjectorError: No provider for ReducerManager". Can anyone help me with sharing the common ngrx state between shell and all the angular frontends in a multi version angular microfrontend system using web component (angular element)? I have used this concept while trying to share the common state