News for hackers. Stuff that matters.
Re:React Redux 6.0 released by gforge on Wednesday December 05, 2018 @01:17PM (#18610891)
I just encountered Flow type issues after the 85 release. I know the type defs are in flow-typed but it would be nice if you could also provide some guidance. There are just so many parameters for connect that it just blows my mind when I try to find the source error.
Re:React Redux 6.0 released by acemarke on Wednesday December 05, 2018 @01:25PM (#18610968)
Unfortunately, that's not something we have any control over, or any real guidance on. Per my other comment in this thread, Tim and I don't use TS or Flow ourselves, and we haven't directly maintained the typedefs.
Re:React Redux 6.0 released by gforge on Wednesday December 05, 2018 @05:21PM (#18613267)
Have you considered asking the authors of the typedefs to contribute to that section? My guess they would be pretty honored to be able to help out directly with such a high profile package.

I like types (I've use both Flow and Typescript) in general, but I can also admit that they can cause more type specific coding that is unrelated to the actual problem that I want to solve. It's somewhat of a rabbit hole though, it is hard to go back once you've started. It would therefore be great if there was something more than the test cases provided at flow-typed when trying to to learn redux typing.