mrpmorris / Fluxor

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

Redux Dev Tools - MAUI Support #337

Closed phmatray closed 1 year ago

phmatray commented 1 year ago

Hello,

With a colleague we just integrated Fluxor in a demo MAUI application (a simple todo list).

The compilation of the Windows version gives us access to the WebView2 Developer Tools by pressing F12. Everything works fine except for the Redux Dev Tools.

Is there any support for them ?

mrpmorris commented 1 year ago

I don't know if the WebView2 component supports plugins.

berhir commented 1 year ago

I was missing the ReduxDevTools when I worked on a Xamarin Forms application. I had an idea in mind how to make the ReduxDevTools available for any application type. When I saw your issue, I decided to create a proof-of-concept. The code is available here: https://github.com/berhir/RemoteReduxDevTools

With my tool you can use the Redux Dev Tools from any .NET application (Console, WinUI, MAUI, etc.) on any device with an internet connection. It uses a SignalR connection to communicate with the ReduxDevTools in the browser.

@mrpmorris I reused a lot of code of the Fluxor.Blazor.Web.ReduxDevTools lib. I hope it's ok, I added a note that my tool is based on your work.

mrpmorris commented 1 year ago

Thanks excellent work, well done!