Redux
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 24,665 public repositories matching this topic...
Before opening a new issue, please take a moment to review our community guidelines to make the contribution process easy and effective for everyone involved.
Description
A clear and concise description of what the bug is.
Steps to reproduce
Steps to reproduce the behavior:
(Add link to a dem
Description of the bug/issue
Just a few broken links I found while reading through the documentation.
I found 3 broken links in documentation for babel-plugin-redux-saga.
From page 6. Troubleshooting, click on the link text
- "Docs are available here"
- Naviga
Too wide (and falsy) segregation of GraphQL Types and Resolvers
The first example of this is new ObjectType in src/data/queries/index.js importing fields.
Fields should be taken in context of parent type, not as standalone information.
This can ensure some users that custom types cannot have own field resolvers which is false.
In fact, much of fields which can have own resolvers
The usage guide pages for mapState and mapDispatch are amazingly good, and I frequently link them as references to answer people's questions.
However, we currently only have an API reference page for our hooks API. It's time we added some kind of a usage guide page for the hooks as well.
I'm not exactly sure what topics it should cover, but I'd like to hear suggestions.
Since a lot of the categories have many articles listed, it would be helpful to highlight the top 2-4 "must read" articles in each category, if appropriate.
I should figure out how to format this, and which ones I want to highlight.
Problem
Here are the types for a ts test https://github.com/paularmstrong/normalizr/blob/master/typescript-tests/entity.ts#L11
Since in the normalized entities all relationships are all id type this should be string instead of User
{
...
user: string
}
.jsx instead of .js
Type of issue: (feature suggestion, bug?)
Suggestion
Chapter:
no-chapter
Why use .jsx instead of .js? It's not a best practice: facebook/create-react-app#87 (comment)
🐛 Bug Report
Inverse patches saved after changing Date object result in null value when applied.
Not sure if it's a bug or I'm missing something. I found this in the docs, but I'm not mutating Date object.
Link to repro
https://codesandbox.io/s/immer-sandbox-bnqgf
To Reproduce
Reproduction available i
It's documented how to share selector code among multiple component instances. It often makes sense for each component to have its own private memoized cache.
But for selectors that actually can share the cached value, is there a way to make them share this selector instance?
Some workarounds:
- Move this derived state into the store. Hurts modularity (most components won't care about t
-
Updated
Jun 22, 2020 - JavaScript
-
Updated
Jun 6, 2020 - JavaScript
The currently published docs on redux-form.com has its Examples page returning a "404" page:
https://redux-form.com/8.3.0/examples/
And, if you click on the example links in the nav sidebar, such as the Simple Example at https://redux-form.com/8.3.0/examples/simple/ then all of the sidebar links become /8.2.2/ instead of /8.3.0/
I have issues to get Reactotron working in my jest react-native test environment.
Before running a test I simply do
jest.mock("reactotron-react-native");, but then I receive an error stating
TypeError: Cannot read property 'useReactNative' of undefined
 to greatly reduce the boilerplate code of defining action type constants.
Some of the current background image selections have low contrast against the text or could be better quality images that better relate to selected verticals. This may be irrelevant if we decide to remove the image altogether.
I am trying to create a connector for a new library, but I can't find any documentation on how to properly handle all the possible actions (TOGGLE_ACTION, IMPORT_STATE, etc.).
I found code examples for some of the functionality (like this one), but I would like to see proper documentation on how to implement t
-
Updated
Apr 1, 2020 - TypeScript
We should document if and how an async function (i.e. a Promise) can be passed to onBeforeLift. I.e. example code for what's trying to be done here: #921
Where to update: https://github.com/rt2zz/redux-persist/blob/master/docs/PersistGate.md
There are two mentions of a reactide.config.js file in the README:
The component tree works out-of-the-box by finding the entry point to your React application that you provide inside the reactide.config.js file.
Go to the reactide.config.js file and change the .html and .js entry points to the relative path of your respective files.
But I could not find any examples or documentation
Environment
Windows 10/ Chrome, Microsoft Edge and Firefox
Steps
Open the page http://localhost:8080/step1-02/demo/ as per the instructions in the README file.
Actual Result
The logo image is not loaded in the page. In the Developer tools 404 error is seen.
Only the alternate text is visible in browser.
Expected Result
The logo image should load
Hi, I'm a Redux maintainer. I'd like to offer a couple suggestions.
Is your feature request related to a problem? Please describe.
The current Redux example implementation shows use of reducers with "hand-written" immutable update logic, and has a somewhat complex store configuration. In addition, the project currently uses a "folder-by-type" folder structure.
**Describe the solutio
There is some noise, I need to clean it up
Environment info
- OS: Ubuntu 18.04.2 LTS
- App Version (
Command/Ctrl + ,): v1.8.0
Description of the problem / feature request / question:
I think that snippets be displayed as a collection of index cards may sometimes be more intuitive and productive, for example, to glance snippets with the same tag. Thanks for this wonderful tool.
-
Updated
Jun 12, 2020 - JavaScript
$ chmod +x DevHub-0.98.5.AppImage
$ ./DevHub-0.98.5.AppImage
[74678:1119/111718.741581:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /tmp/.mount_DevHubUcWLlF/chrome-sandbox is owned by root and has mode 4755.
[1] 74678 trace trap ./D-
Updated
Jun 12, 2020 - JavaScript
看了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 该如何变化
Animated List
Have a look at the docs on Middleware: http://reswift.github.io/ReSwift/master/Other%20Typealiases.html#/s:7ReSwift10Middlewarea
It reads
public typealias Middleware<State> = (@escaping DispatchFunction, @escaping () -> State?)
But the code is
public typealias Middleware<State> = (@escaping DispatchFunction, @escaping () -> State?)
-> (@escaping DispatchFunction) -> Di
Created by Dan Abramov and Andrew Clark
Released June 2, 2015
- Repository
- reactjs/redux
- Website
- redux.js.org
- Wikipedia
- Wikipedia


This is a tracking issue to cover all work related to rewriting the "Recipes" section.
Tasks