adding some redux steps

This commit is contained in:
Ken Chau
2019-02-16 17:00:47 -08:00
parent e143a0e820
commit 7fc326b0cb
22 changed files with 2096 additions and 2173 deletions

View File

@@ -0,0 +1,3 @@
export const addTodo = (label: string) => ({ type: 'addTodo', label });
export const remove = (id: string) => ({ type: 'remove', id });
export const complete = (id: string) => ({ type: 'complete', id });