-
These two transducer pipelines should have the exact same performance:
```racket
(transduce some-sequence
(mapping f)
(taking 20)
(mapping g)
(takin…
-
In a larger app where we have lots of reducers and dispatched actions, does it make sense to try and avoid type checking within each reducer?
For example, the following is 1 reducer in the TodoMvc ex…
dinoc updated
6 years ago
-
After some experimentation, it appears we can chain withState **after** withReducer to set initial state.
If I chain withState **before** withReducer, then that initial state is discarded. However…
-
https://medium.com/javascript-scene/transducers-efficient-data-processing-pipelines-in-javascript-7985330fe73d
https://dev.to/romanliutikov/understanding-transducers-in-javascript-4pdg
Currently w…
-
First of all, thanks for sharing this with the community!
## Update function.
I think it is useful to put all options on the table and compare them.
- Proposed: `func update(model: Model, m…
-
Current proposals:
1. Drop-in GenServer replacement, no additional handlers. Every handle_* callback that changes the state is hooked to push the state to clients via Phoenix Channel. This is the cur…
-
```js
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory)…
-
It would be great if it were possible to compose two schemas together:
```python
s1 = Schema({"a": {"b": int}})
s2 = Schema({"a": {"c": int}})
s1_and_s2 = compose(s1, s2)
assert s1_and_s2 =…
-
__tldr;__ This is part of the [Streaming ViewModels](https://github.com/canjs/canjs/issues/3324) proposal which seeks to eliminate imperative code within a `ViewModel` while still maintaining a famili…
-
### createStore
```js
import isPlainObject from 'lodash/isPlainObject'
import $$observable from 'symbol-observable'
/**
* These are private action types reserved by Redux.
* For any unk…