Patrick Smith

Results 157 issues of Patrick Smith

`X-Cache` header in response: `HIT` or `MISS`

- https://news.ycombinator.com/item?id=18161338

```js import makeMemory from 'react-organism/makeMemory' const remember = makeMemory(3) // Capacity of 3 per action export const initial = () => ({ posts: null }) // Remember caches given the...

enhancement

- https://facebook.github.io/react/blog/2017/05/18/whats-new-in-create-react-app.html Recommended is to load `import()` in componentDidMount, then set component in state. With react-organism, could instead just do this in load. Then instead of setting in state, use...

enhancement

```js export const load = '/api/photos' ```

enhancement

- I want to manage a collection of data - I want to talk to an API - I want to use Promises - I want to use async/await -...

``` yarn create react-organism state friendsList=await:friendsAPI.list() ```

enhancement