redux-rs

An attempt at a uni-directional state flow written in Rust, heavily based in redux-js. (by jaredonline)

Redux-rs Alternatives

Similar projects and alternatives to redux-rs

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better redux-rs alternative or higher similarity.

redux-rs reviews and mentions

Posts with mentions or reviews of redux-rs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-05-07.
  • Xilem: An Architecture for UI in Rust
    10 projects | news.ycombinator.com | 7 May 2022
    From the first paragraph:

    > ... Architectures that work well in other languages generally don’t adapt well to Rust, mostly because they rely on shared mutable state and that is not idiomatic Rust, to put it mildly. ...

    The author doesn't mention Redux (the architecture), which is surprising. There are three principles[1]:

    1. The global state of your application is stored in an object tree within a single store.

    2. The only way to change the state is to emit an action, an object describing what happened.

    3. Changes are made with pure functions.

    In other words, the components of an application never mutate the state tree directly. Rather, they emit actions which re-generates the state tree without mutation.

    This style of state management is compatible with Rust's ownership model. The emphasis on pure functions means that it's not necessary for your application to hold multiple mutable references, which I'm guessing underlies the "generally don't adapt well to Rust" part of the claim.

    [1] https://redux.js.org/understanding/thinking-in-redux/three-p...

    [2] https://github.com/jaredonline/redux-rs

Stats

Basic redux-rs repo stats
1
28
10.0
over 6 years ago

The primary programming language of redux-rs is Rust.

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com