Skip to content

Instantly share code, notes, and snippets.

@jeffijoe
Created September 6, 2016 09:51
Show Gist options
  • Save jeffijoe/ae315059a5329c5077f17514e0fb0454 to your computer and use it in GitHub Desktop.
Save jeffijoe/ae315059a5329c5077f17514e0fb0454 to your computer and use it in GitHub Desktop.
Snippet for my Medium article
const currentUser = {
id: 123,
name: 'Jeff'
}
const todosRepository = new TodosRepository()
const todosService = makeTodosService({
todosRepository,
currentUser
})
export default {
todosService,
todosRepository,
currentUser
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment