3 ms·
There is absolutely nothing related to FRP in this blog post, not even "composable event streams" for that matter. This is just using a CSP channel as a (global
by staltz 11y ago
There is absolutely nothing related to FRP in this blog post, not even "composable event streams" for that matter. This is just using a CSP channel as a (global) event bus. It essentially replaces the (global) dispatcher with a CSP channel. This blog post's approach is essentially typical Flux and nothing else. And doesn't improve to make it more functional either, because both `onClick={this.clickHandler}` and `yield csp.put(channel, {actionType: 'incr'});` are imperative code.
- mst 11y agoPlus both redux and fluctuations work using immutable state and reducers rather than mutating actions.