-
Hi,
I have the next store normalized structure:
``` javascript
{
sports: {
1: {
id: 1,
name: 'Soccer',
leagues: [2,3,4]
},
...
},
leagues: {
2: {
…
-
In the documentation for react-beautiful-dnd, it says
> It is advised to just wrap your entire application in a DragDropContext.
So, I put the `DragDropContext` in my highest component in the tr…
-
I want to ask clarification about documentation.
In pitfalls section you state:
> That is, no object should appear twice in the tree, and there should be no circular references.
Can you expl…
ghost updated
6 years ago
-
I thought I would share some styleguide ideas that are based on code we've been discussing before:
counter.ts:
In the reducers there is a bug in TypeScript that does not check the object propertie…
-
I propose provide option for defining reducer with a plain JS object where keys are action types and functions defined with ES6 arrow functions (which leads to less code):
Here code example based on …
-
hi,I'm new to this
the error message is
`browser.js:40 Uncaught Invariant Violation:`mapStateToProps`must return an object. Instead received [object Object].`
1.
```
case 'TOGGLE_TODO':
…
-
Bikeshedding thread here.
As part of 1.0 we can do some breaking changes we won't be able to do after 1.0. This includes bikeshedding on names.
I wanted this library to be a functional programming t…
-
One of the really nice results of reducer composition is that it is possible to create reducers that only need to know about their part of the global state tree. This is unfortunately not currently th…
-
**Do you want to request a *feature* or report a *bug*?**
A bug... maybe. It seems like it's intended behaviour but I don't know who benefits from the warning.
It is similar to #1636, but not…
-
**What is the current behavior?**
```typescript
export type StoreEnhancerStoreCreator = (reducer: Reducer, preloadedState?: S, enhancer?: StoreEnhancer) => Store;
```
Does not allow an enhancer …