Andrew Shaffer

Results 66 comments of Andrew Shaffer

This looks good to me. Although I think the rendering options are maybe not necessary. The browser should be smart enough to avoid significantly impacting performance if you are just...

@0a- Sorry I don't mean caching of the elements themselves. I meant more like re-rendering _over_ the same attributes. Like, say you have pre-rendered: ``` html ``` If you just...

I've created a primitive that I think essentially solves this problem: [redux-subscribe](https://github.com/ashaffer/redux-subscribe). This let's you create context components that store values from the global state atom in their own local...

@rstacruz I use [redux-effects](https://github.com/redux-effects/redux-effects) for composing and managing side-effects in a pure way. For http requests specifically, there is [redux-effects-fetch](https://github.com/redux-effects/redux-effects-fetch). The primary redux-effects repo is just the thing that orchestrates...

> Well I sort of think the same way. I think sometimes you just can't always synchrounously return actions. I had a discussion with @ashaffer a couple of days ago...

I should also add that [redux-multi](https://github.com/ashaffer/redux-multi) makes this approach much more manageable, by allowing you to return multiple actions as an array, e.g. ``` javascript import {bind} from 'redux-effects' import...