redux-rs

Crates.ioredux-rs
lib.rsredux-rs
version0.3.3
sourcesrc
created_at2018-04-18 22:49:55.246145
updated_at2022-03-13 19:31:51.008401
descriptionA Rust implementation of Redux.
homepagehttps://github.com/redux-rs/redux-rs
repositoryhttps://github.com/redux-rs/redux-rs.git
max_upload_size
id61328
size73,129
Jeroen Vervaeke (jeroenvervaeke)

documentation

README

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>
Commit count: 53

cargo fmt