The Wayback Machine - https://web.archive.org/web/20220712004522/https://github.com/topics/redux
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 44,723 public repositories matching this topic...

ianstormtaylor
ianstormtaylor commented Jun 28, 2022

🚀 Feature Proposal

Right now it's really hard to figure out how to properly type a producer function. It would be really nice if there was an easy Producer<T> to refer to a the producer function for a Draft<T>.

For example to pass a producer function around in React's context.

Example

let ProducerContext = createContext<Producer<MyState> | null>(null)
responsively-app
jjavierdguezas
jjavierdguezas commented Jun 30, 2022

🐞 bug report

I don't know exactly how I get to this scenario, but it is reproducible (at least in my env)

Changing zoom and layout leads to incorrect UI display after restart

🕵🏼‍♂️ Is this a regression?

idk

🔬 Minimal Reproduction

1- Open Responsively
2- Set layout to Individual
3- Set Zoom to 20%
4- Close Re

bug help wanted good first issue
mrfoxtalbot
mrfoxtalbot commented Jul 6, 2022

Quick summary

When the Unified Navigation is collapsed in the editor, it leaves a blank space.

Here is a video of what this looks like on a simple site:

https://user-images.githubusercontent.com/4452464/177590631-a8e40a1d-9550-4808-8432-55a84f8caf76.mp4

Here is a video of how the collapsing navigation works in core. Notice how the area available for the editor is increased when

jangya
jangya commented Nov 14, 2019

Web socket as data Provider


todos_repository_simple explains nicely about the benefits of using repository as singleton. But no where it's mentioned how to handle the web sockets.

How can I use web socket (webSocket and fileStorage) instead of rest (webClient and fileStorage) ?

Some key points between web socket and rest.

  • The name itself signify socket
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 该如何变化
     
enhancement good first issue

Created by Dan Abramov and Andrew Clark

Released June 2, 2015

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

Related Topics

javascript react