ReduxKotlin

ReduxKotlin

  • Getting Started
  • API
  • FAQ
  • Github
  • Need help?

›Introduction

Introduction

  • Getting Started with Redux
  • Motivation
  • Core Concepts
  • Three Principles
  • Threading
  • Learning Resources
  • Ecosystem
  • Examples

Basic Tutorial

  • Basic Tutorial: Intro
  • Actions
  • Reducers
  • Store
  • Data flow

Advanced Tutorial

  • Advanced Tutorial: Intro
  • Async Actions
  • Middleware

FAQ

  • FAQ Index
  • General
  • Reducers
  • Store Setup
  • Multiplatform

Other

  • Glossary
  • Troubleshooting
  • Feedback

API Reference

  • API Reference
  • createStore
  • createThreadSafeStore
  • createSameThreadEnforcedStore
  • Store
  • applyMiddleware
  • compose

Examples

ReduxKotlin includes a few examples currently and plans to port many of the JS Redux examples over. You may also find the JS examples helpful

Counter

Run the Counter example:

git clone https://github.com/reduxkotlin/redux-kotlin.git

./gradlew examples:counter:installDebug

or:

Open the root project in Android Studio/Intellij. Select and run the configuration for the Android example/counter example.

Todos

Run the Todos example:

git clone https://github.com/reduxkotlin/redux-kotlin.git

./gradlew examples:todos:installDebug

or:

Open the root project in Android Studio/Intellij. Select and run the configuration for the Android example/counter example.

NameGame

This is a multiplatform app for Android and iOS. It is a quiz on dog/cat breeds. This is a more complete example of how to use Redux in a real application. Async actions such as network requests and delays are demonstrated. Also used is the presenter-middleware as a presentation layer.

Run the NameGame example:

git clone https://github.com/reduxkotlin/NameGameSampleApp.git

./gradlew android:installDebug

or:

Open the root project in Android Studio/Intellij. Select and run the configuration for the Android example/counter example.

iOS:

Open the iOS/NameGame in XCode.

ReadingList

This is a multiplatform app for Android and iOS. It is a quiz on dog/cat breeds. This is a more complete example of how to use Redux in a real application. Async actions such as network requests and delays are demonstrated. Also used is the presenter-middleware as a presentation layer.

Run the ReadingList example:

git clone https://github.com/reduxkotlin/ReadingListSampleApp.git

./gradlew android:installDebug

or:

Open the root project in Android Studio/Intellij. Select and run the configuration for the Android example/counter example.

iOS:

Open the iOS/ReadingList in XCode.

MovieSwiftUI-Kotlin

Fork of an 100% SwiftUI app that uses shared Kotlin code for networking, preferences, reducers, actions, and more.

Run the MovieSwiftUI-Kotlin example:

git clone https://github.com/reduxkotlin/MovieSwiftUI-Kotlin.git

Open the iOS/ReadingList in XCode.

A minimal Jetpack Compose screen is implemented.

← EcosystemBasic Tutorial: Intro →
  • Counter
  • Todos
  • NameGame
  • ReadingList
  • MovieSwiftUI-Kotlin
ReduxKotlin
Docs
Getting StartedCore ConceptsBasicsAdvanced
Community
#redux slackTrello board
More
GitHubStar
Thank you to Dan Abramov and the Redux.js.org documentation authors from which this was forked.
Some icons copyright Font Awesome and Noun Project (Hassan ali, ProSymbols)