Skip to content

Redux for the JVM. An attempt to avoid duplicate efforts.

License

Notifications You must be signed in to change notification settings

glung/jvm-redux

Repository files navigation

DEPRECATED

Moved to https://github.com/jvm-redux/

jvm-redux

Avoiding duplicate efforts.

The project defines an API & Specs to implement Redux on the JVM. It provides adapters for some existing implementations.

Context

A simple Google request reveals many implementations of Redux for the JVM.

This project has two goals :

  • Evaluate a given implementation (compliance to specs)
  • Provides a high-level API. Hence, any library can be written once and fit then all.

Api

Redux is better expressed using a functionnal language, hence the API is defined in Kotlin. The implementations may use another language.

Please, find the API here

The repository also provides adapters for the following implementations :

Please, create an issue if you want to add an adapter to another implementation.

A comparison of stores is available here

Acknowledgements : The api started out of Redux-Kotlin and some updates were made to it. Redux-Kotlin has also a nice port of the official Redux project, for that reason the tests were also imported. Thank you @pardom.

Projects using this API

Any add-ons (Middlewares, DevTools, ...) written on top of this API can fit any implementation with an adapter.

Examples :

Import project

Repository

Set-up JitPack

allprojects {
		repositories {
			...
			maven { url "https://jitpack.io" }
		}
	}

API

compile 'com.github.glung.jvm-redux:specs:-SNAPSHOT'

Adapter for Bansa

compile 'com.github.glung.jvm-redux:adapter-bansa:-SNAPSHOT'

Adapter for Kedux

compile 'com.github.glung.jvm-redux:adapter-kedux:-SNAPSHOT'

Adapter for Reduks

compile 'com.github.glung.jvm-redux:adapter-reduks:-SNAPSHOT'

Adapter for Redux-Java

compile 'com.github.glung.jvm-redux:adapter-redux-java:-SNAPSHOT'

Adapter for Redux-Kotlin

compile 'com.github.glung.jvm-redux:adapter-redux-kotlin:-SNAPSHOT'

About

Redux for the JVM. An attempt to avoid duplicate efforts.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages