Skip to content
#

Redux

redux logo

Redux is an open source JavaScript library, designed to allow for state management of JavaScript applications. Inspired by Elm, Redux is a debugging tool and supports robust application data-flow architecture. Redux is frequently used in combination with React.

Here are 31,778 public repositories matching this topic...

responsively-app
keithpickering
keithpickering commented Mar 5, 2021

I love the way the @rematch/loading plugin keeps my app's loading state all in one place. Something that stuck out to me as odd was that there's no similar plugin for handling error/success state. So I can now avoid writing a { loading, error, success } object for every reducer, but error and success are still required if I want to perform some action after the effect finishes, so the ret

a616781689
a616781689 commented Nov 28, 2019

看了fish-redux的todoList demo,发现里面连接全局状态的方法是使用visitor

visitor: (String path, Page<Object, dynamic> page) {
      /// 只有特定的范围的 Page 才需要建立和 AppStore 的连接关系
      /// 满足 Page<T> ,T 是 GlobalBaseState 的子类
      if (page.isTypeof<GlobalBaseState>()) {
        /// 建立 AppStore 驱动 PageStore 的单向数据连接
        /// 1. 参数1 AppStore
        /// 2. 参数2 当 AppStore.state 变化时, PageStore.state 该如何变化
     

Created by Dan Abramov and Andrew Clark

Released June 2, 2015

Repository
reactjs/redux
Website
redux.js.org
Wikipedia
Wikipedia

Related Topics

javascript react