mrpmorris / Fluxor

Fluxor is a zero boilerplate Flux/Redux library for Microsoft .NET and Blazor.
MIT License
1.22k stars 139 forks source link

Enabling Fluxor for lazy-loaded assemblies #493

Open LucaMahler opened 3 weeks ago

LucaMahler commented 3 weeks ago

In our project, we have a main WASM project which acts as container for micro frontends. These are being lazy-loaded and are themselves Razor Class Libraries (RCL).

Do you support this use case?

Now, when I use the .ScanAssemblies(typeof(Program).Assembly), ???)in the Program.cs, there is no way of using the lazy-loaded assembly yet.

mrpmorris commented 3 weeks ago

You'd have to write them as Reducer and Effect subclasses and add them manually to the store and relevant features.