mrpmorris / Fluxor

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

StoreInitializer not working in Balzor .net 8 #460

Open dbrighton opened 7 months ago

dbrighton commented 7 months ago

I'm using with Blazor Server-Side (.net 8). Not getting any exceptions, but it's not working either. I think the problem is with the new App.razor () component in .net 8.

here is my App.razor

<!DOCTYPE html>

stagep commented 7 months ago

Do you have

<Fluxor.Blazor.Web.StoreInitializer />

in your Routes.razor?

Rhywden commented 7 months ago

I'm also confused why you're talking about "Server-side" but are using Javascript?

WhitWaldo commented 3 months ago

This should be tentatively fixed with #481

ChuckBryan commented 1 month ago

Do you have

<Fluxor.Blazor.Web.StoreInitializer />

in your Routes.razor?

This helped me with my example. I was following the Counter example in the docs which said to put that component in the App.razor. Thanks!