Skip to content

ReduKt is a Redux pattern adaptation in Kotlin, integrated with coroutines, testable and multiplatform.

License

Notifications You must be signed in to change notification settings

DaftMobile/ReduKt

Repository files navigation

ReduKt

Kotlin

ReduKt is a Redux pattern implementation adapted to Kotlin and integrated with coroutines! Besides the core library, ReduKt comes with ready-to-use extension libraries, that provide solutions for common problems and help you reduce the boilerplate.

Materials

Guides and examples are available for each library in their corresponding README files. They are easily accessible from libraries section.

API reference has not been published yet. It's only available from the source code.

Libraries

  • ReduKt Core
    • Redux store implementation with middlewares support.
    • Wide range of middleware builders.
    • Tools to ensure single-threaded usage.
    • Coroutines support - easy launching/joining/cancelling coroutines logically associated with actions.
    • Dispatch closure - simple mechanism to extend store's functionality (e.g. integration with DI frameworks)
  • ReduKt Test
    • Dispatch spying tools with wide range of assertions.
    • Middlewares testing tools.
    • TestStore implementation for verifying interactions with a store.
  • ReduKt Thunk + ReduKt Thunk Test - Redux Thunk adaptation
  • ReduKt Data Source - fetching data from external data sources with generic actions as a result.
  • ReduKt Koin - integration with Koin framework.
  • ReduKt Compose - integration with Jetpack Compose.

Multiplatform

This library is highly dependent on Kotlin Coroutines and therefore supports the same range of targets.

Targets list is available here.

About

ReduKt is a Redux pattern adaptation in Kotlin, integrated with coroutines, testable and multiplatform.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages