Can anyone give me an honest assessment of the via...
# redux
h
Can anyone give me an honest assessment of the viability of using ReduxKotlin in a new KMM app? It seems the main repo isn't maintained, but I did find @Emanuel Moecklin's fork which seems to be more current. What's the general feeling here about the future of this project?
e
Redux is a powerful pattern but a little out-dated imo. I think the main problem is decomposition of features and individual business logic components. Redux tends towards a more centralized approach. For small projects it's fine but for larger ones you definitely need some extra layers / libraries that help you structure the business logic and also to tie it to the UI (definitely one of the challenges in KMM). I updated the redux library above just to integrate it with my own ui framework which has IMHO a more modern approach to state management. In that context Redux is merely a centralized ui and business logic state container. For KMM I would recommend obviously my own framework (https://1gravity.github.io/Kotlin-Bloc/) but https://github.com/arkivanov/Decompose is quite popular and there's https://github.com/orbit-mvi/orbit-mvi. Last but not least https://github.com/arkivanov/MVIKotlin
b
I've recently took over as a maintainer, however we have some problems with maven secrets that blocks publishing updates and requires some input from original owner to sort out. Unfortunately the owner is short on free time these days so I cannot give any ETAs for unblocking that. That being said, there's not much to maintain for this particular project since redux pattern is generally well explored and pretty standart to implement.
e
@Big Chungus I could think of a good amount of features that could be added like integrate memoized selectors (that library isn't maintained either), support iOS Simulator as target, extensions for compose and more 😉
b
Please raise bugs for those - all good suggestions and I'll get on with them once maven central is unblocked 👍
p
Hopefully get this sorted out soon. Sorry for this pain point.
Maven Central is unblocked now - new releases can be published. Next for me is updating kotlin version and deps and working towards a 1.0 release. If anyone wants to help in that effort PRs are welcome
b
I'll sort it out over the weekend. Was on my todo list anyways.