-
I have a request for an additional example on how to use select properly. I'm using a normalizr style pattern.
If I have a state, that contains:
{
items: Map
currentItemId: Number
}
What …
-
If you've seen [Normalizr](https://github.com/paularmstrong/normalizr) for data state in apps, you'll notice it has some nice properties like nested entities referred by it's `Id` instead of nesting t…
-
Some state within redux right now is deeply nested, making it harder to use the data within our UI components and reducers. By normalizing API calls with `normalizr`, and referring by entities by ID, …
-
### Bug
When I render `RadioButton` as child of `RadioGroup`, I found that radio button it is not checked when clicked, but `Radio` worked.
Code as follows:
```
import React, { Component, PropTy…
erraX updated
6 years ago
-
Right now, you pass resources like so:
```js
{
resourceName: 'books',
resources: [bookOne, bookTwo],
...someStuff
}
```
This works well for the built-in action types, which only supp…
-
For some applications scenarios it would be beneficial to have an alternate toJson() which would just output each related table as an array, instead of combining relations into nested structures. This…
-
I'm a bit stuck on how one would go about memorising the following selector using this library:
``` javascript
export function selectItem(items, id) {
const item = items[id]
return {
id,
…
ronag updated
6 years ago
-
say I have this structure:
```
categoryById {
cat1: {name:..., products: [1,2,3]}
....
}
productsById {
prod1: {id, name:....}
}
```
if I want a selector that populates categories.produc…
-
It seems to be hard to deal with, due to deep nesting. E.g. a specific annotation is at: `Project.timeline.tracks[i].annotations[j]`. Could help with DB/persistence too.
Keywords: normalised, flat st…
-
When running `run_def_tests.sh` (at least on windows) a large number of eslint errors and warnings are reported. Is this intended or an error in my setup?
```
> eslint npm/**/test*
D:\flow-typed\de…