https://kotlinlang.org logo
Title
z

zalewski.se

06/13/2020, 3:26 AM
Is there a version of kotlin-redux compatible with Kotlin 1.4-M2?
p

Patrick Jackson

06/13/2020, 12:35 PM
Not currently. I may be able to create a branch and publish a version if needed
z

zalewski.se

06/14/2020, 6:28 AM
@Patrick Jackson I see thanks! Not necessarily needed, hope we will get update when stable 1.4 will come out 🙂 If you don’t mind I have few questions about the library itself too. 1. Recently you released
0.5.1
where you changed the redux to the
threadsafe
implementation. From what I checked the previous version also enforced using same thread. In the new
createSameThreadEnforcedStore
is actually an old
createStore
, right? 2. I’m new to redux so I’m not sure about this. What’s the benefit of using
thunkMiddleware
? Seems like I can do an async call from normal
middleware
too.
p

Patrick Jackson

06/14/2020, 1:01 PM
@zalewski.se you beat me to putting out some info lol. 0.5.1 was release yesterday. Just posted more info in this channel with links to details. As for thunk vs middleware w/ async calls - Its really a matter of choice. Thunks quick way to do async code, but nothing magical there, its just executing a function. Perhaps less boilerplate than adding a bunch of middleware functions