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 22,634 public repositories matching this topic...
Is your feature request related to a problem? Please describe.
Hi, I'm a Redux maintainer. I'd like to offer a couple suggestions.
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's current "feature folder" structure results in multiple separate files for the
🧐 问题描述
[问题]如何修改区块获取的资源路径,想使用公司自己的github?哪里有相关介绍吗?
目前指向:https://gitee.com/ant-design/ant-design-blocks/
🚑 其他信息
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
Steps to reproduce
follow docs "Building examples from sources", run npm run counter or yarn counter
Description of the bug/issue
yarn: error Command "start" not found.
The Expected
The documentation talks about using shallowEqual as second argument for comparison (or lodash), although the documentation doesn't explain what are the arguments of this function and how a user could write their own custom equality function.
Is there a way to improve that part of the documentation?
In order to provide the most up-to-date information for react-redux links metadata should be included for the articles. My suggestion would be to add the dates the articles were published. If this is something you're interested in let me know and I can submit a PR.
Problem
When following the instructions in the README in the redux example project, a crash occurs.
Input
Here's how I'm using normalizr:
clone this repo
run yarn in the root dir
run yarn in the examples/redux dir
run yarn start
Output
Here's what I expect to see when I run the above:
An inquirer prompt.
Here's what I actually see when I run the above:
> no
Documentation
feature suggestion
Hey,
I suggest to use a standard documentation format like JSDoc to document all functions and APIs. Otherwise, you can use long strings as name for test cases, instead of just writing the name of the function being tested. This will improve readability of code and ensure better practices by people using it. Thanks.
Documentation now:
const taxSelector = createSelector(
subtotalSelector,
taxPercentSelector,
(subtotal, taxPercent) => subtotal * (taxPercent / 100)
)
Documentation for immutable js:
const taxSelector = createSelector(
subtotalSelector(),
taxPercentSelector(),
(subtotal, taxPercent) => subtotal * (taxPercent / 100)
)
Been through the docs and cou
🐛 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
-
Updated
Mar 2, 2020 - JavaScript
-
Updated
Mar 2, 2020 - JavaScript
Are you submitting a bug report or a feature request?
Bug? I guess.
What is the current behavior?
This tutorial is a mess with outdated dependencies that you don't discover until well into it and should be removed from the list
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
, we can remove this bit of CSS and rely on new mechanism instead to hide block UI:
...it was added in https://github.com/Automattic/wp-calyp
Hi Team,
As per docs https://github.com/zalmoxisus/redux-devtools-extension/blob/master/docs/API/Arguments.md#features
Note that except true/false, import and export can be set as custom (which is by default for Redux enhancer), meaning that the importing/exporting occurs on the client side. Otherwise, you'll get/set the data right from the monitor part.
But when we set import : true
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
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
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
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
There was a major version bump for react-styleguidist demo application, it will require certain refactoring to make it up to date.
I think the average user doesn't caret about the GitHub repository of this project. You could remove the GitHub link from the top-right, and show it somewhere else.
Environment info
- OS: Windows 10
- App Version: 1.8.2
Description of the problem / feature request / question:
The scrollbar in EDIT is completely missing.
It is possible to scroll using the mouse wheel, but the standard scrollbar should show the relative position in the text.
Hello!
I wrote a Notification service for my application, and use a subscription to a new notification for the user, according to the selected topics.
After changing the topics for the user, it is logical to resubscribe to notifications with new parameters, but nowhere in the documentation for useSubscription hook there is no mention or example for such a common scenario.
I ask you to help
$ 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 ./DHave 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
Describe the bug
Getting this warning when building prod webpack config and running it
You are currently using minified code outside of NODE_ENV === 'production'. This means that you are
running a slower development build of Redux. You can use loose-envify
(https://github.com/zertosh/loose-envify) for browserify or DefinePlugin for webpack
(http://stackoverflow.com/questions/30030
Created by Dan Abramov and Andrew Clark
Released June 2, 2015
- Repository
- reactjs/redux
- Website
- redux.js.org
- Wikipedia
- Wikipedia
This is the parent tracking issue for all the work we'd like to do, and primarily serves to link to the other issues.
I'm initially basing this off my suggested outline for the new docs structure and content. This is absolutely not final, and I expect us to iterate on this a lot as we work through everything.
For now, I'