piotrwitek / typesafe-actions

Typesafe utilities for "action-creators" in Redux / Flux Architecture
https://codesandbox.io/s/github/piotrwitek/typesafe-actions/tree/master/codesandbox
MIT License
2.41k stars 99 forks source link

What is the future of the project? #242

Closed quolpr closed 3 years ago

quolpr commented 3 years ago

Hey, guys! I wanted to ask this question in the spectrum.chat(as GitHub Pull Request mentioned me), but it seems not so active. So I want to ask it here.

So, my main question - what is the key benefit of typesafe-actions in front of redux-toolkit? And what is the near future of this project? Do you have worries that typesafe-actions will not be in demand because of redux-toolkit?

I am very thankful for the library you made - it is a really great job. I appreciate the time you put into this project. And I am asking this question to make sure will it be the right decision(in terms of maintainability of the library) to take typesafe-actions in my future projects.

Thanks for understanding.

piotrwitek commented 3 years ago

Hey,

The biggest difference is that this project is "typescript first" and always will be. The biggest effort is put not into the logic of the library, but into the type-safety.

1) You can be sure that this library will never break your TS project because of its unique type unit tests. 2) We also have performance tests for types complexity because create complex types and making sure they are performant and guarantee they will not slow down type-checking in your project is something very difficult and time-consuming.

There is a lot on the plate for the near future, especially in the area of minimizing the boilerplate.

If you have some more specific questions let me know.

PS: Seeing your question I understand I should update the About section of the project to make sure people understand clearly the benefits and goals of this project.

quolpr commented 3 years ago

Thank you for your explanation! That what I was needed to hear. Long Live typesafe-actions 🙂