redux-rs / redux-rs

:package: A Rust implementation of Redux.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status Crates.io Documentation

redux-rs

A Rust implementation of Redux.

Redux

Redux, originally implemented in JavaScript, is an functional approach to state management. The core concept is that you have a state and a reducer, a function to create a new state from the old one and an action, a description of what to change. Because the state itself is immutable, this results in a very clean way of managing application state, where every possible action is defined beforehand and dispatched later on.

Usage

You might want to read the documentation, which also provides examples.

Also consider checking out the examples.

To run an example:

cargo run --example <name of the example>

About

:package: A Rust implementation of Redux.

License:MIT License


Languages

Language:Rust 100.0%