-
* create a function with a switch case for your Action Types
-
```ts
case LOAD_BOOKS:
return {
...state,
entities: array2entity(action.books, state)
};
```
-
### Description & Motivation
For below example, model is being compiled, `DDPStrategy` is passed to Trainer, then during fit method `DDPStrategy` is being applied, so forward is compiled but `_pre_…
-
Reducer functions must be pure, which means that should only return next state, and shouldn't perform any other effects
- Remove toast code from reducer
-
I've come across a few shapes in NIF files where every triangle had its own vertices. The number of vertices was three times the number of triangles. Many, many vertices could be safely merged, redu…
-
https://github.com/geekarist/clj-small-data/blob/master/src/clj_small_data/finder.clj#L145
-
currently the actions only hit the reducer when an action succeeds... doesn't work for optimistic updates. dunno what a solution for that looks like though. seems like you'd traditionally need a lot o…
-
Retrieving lists are always handled the same way. It should be fairly simple to create helper functions that return reducers for pending, fulfilled and rejected actions.
-
As a regression test for #1646
-
### Usecase
Generated queries can get rather nested and complex. This means they have to be shrunk in order to pinpoint the root cause of bugs.
Rough steps of manual sql reducing, starting with …