docs: function fetchPosts({state, actions, opts: {api}}, reddit) {
  	let posts = state.postsByReddit[reddit]
  
  	if (_shouldFetchPosts(posts)) {
  		api.fetchPosts(reddit)
  			.then(json => actions.postsFetched(reddit, json))
  
  		return {
  			...state,
  			postsByReddit: {
  				...state.postsByReddit,
  				[reddit]: Object.assign({}, posts, {
  					isFetching: true, 
  					didInvalidate: false, 
  					posts: []
  				})
  			}
  		}
  
  	}
  
  	return state
  }