fluttercommunity/redux.dart

Compatible with Redux Devtools?

andresaraujo opened this issue · 4 comments

It would be great if redux dart is compatible to redux devtools like https://github.com/zalmoxisus/redux-devtools-extension

Interesting idea - At first glance, I think this would be challenging because this would (I think) require Actions and State to only support objects that extend JsProxy (using the new package:js interop)

I haven't given it much thought but I suppose it wouldn't be too hard to write a dart version of the dev tools...

As a heads up, I've just written some native Redux.dart dev tools on my machine. I'm adding docs and cleaning them up a bit, and will publish the results soon!

I've been doing some experimenting with getting this project working with the Javascript Remote Devtools

Going from Dart (Flutter) to remote devtools is not too difficult, and time travel should also be possible as well. Not sure how to handle arbitrary actions from Javascript => Dart, but I'm also not up to that.

But here's the Counter demo app working, it's a start:

https://youtu.be/z4Wwc11QXDM