I am working on breaking a monolith app into micro frontends on angular 10. The micro frontends reside in separate repositories, i want to use ngrx store and effects in my micro frontends. I cannot do StoreModule.forRoot()
in my micro frontend's app module. I want to create a root store in the shell app and i want to use the reducers and effects in the micro frontends. I am not using any frameworks like SPA, working with webpack module federation plugin. How do i go about this? Any help will be much appreciated and welcomed.
Asked
Active
Viewed 1,052 times
9

Vinay G B
- 127
- 6
-
1Did you ever figure out a solution for this? I'm attempting to do something similar – tallkid24 Jan 19 '21 at 15:54
-
1Hi, have you find any solution to this? I'm trying to use ngrx in the shell application and the micro frontend, but the microfrontend instance overwrite the shell app state – Ernesto Alfonso Sep 06 '21 at 08:01
-
@vinay G B did you figure this out ? – VR1256 Jul 13 '22 at 20:52
-
@Vinay G B, did you get the answer? – PRABHJOT SINGH Jul 04 '23 at 11:23