alexeieleusis / greencat

A port of Redux(https://github.com/reactjs/redux) to Dart, including Redux Thunk(https://github.com/gaearon/redux-thunk) and a simple Logger.
Apache License 2.0
48 stars 4 forks source link

Support Dart 2.0 / 2.1 #23

Closed sturmf closed 5 years ago

sturmf commented 5 years ago

I am using greencat in an older application which I currently try to port to Dart 2.1. Unfortunately greencat is not yet compatible with Dart >=2.0.0

Are there any plans on support, or maybe already work on it?

alexeieleusis commented 5 years ago

Hi Fabian,

It's been a while since I last worked on greencat and stopped using it. I remember the code was strong mode compliant, which means it should work on newer versions of dart. Have you tried directly downloading the code? Even if there are errors, they should be easy to fix.

I can look into it definitely, but I don't think I'll have time before Jan 15th.

On Mon, Dec 31, 2018, 08:47 Fabian Sturm <notifications@github.com wrote:

I am using greencat in an older application which I currently try to port to Dart 2.1. Unfortunately greencat is not yet compatible with Dart >=2.0.0

Are there any plans on support, or maybe already work on it?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/alexeieleusis/greencat/issues/23, or mute the thread https://github.com/notifications/unsubscribe-auth/ABLWk4K2AraTb1dOd3d8Fpj7wYDadOpfks5u-j-xgaJpZM4ZliuE .

alexeieleusis commented 5 years ago

I just published a Dart 2 compliant version to pub. Enjoy!

sturmf commented 5 years ago

Hey great thanks! Just for your info, I now almost ported my code (still struggling with the tests) and so far I used an override for greencat and it worked without changes in your lib.

alexeieleusis commented 5 years ago

Testing async code is challenging, good luck!