Skip to content

Instantly share code, notes, and snippets.

@timseriakov
Last active November 21, 2025 07:53
Show Gist options
  • Select an option

  • Save timseriakov/9d719969e9e6556734401a1381f849b2 to your computer and use it in GitHub Desktop.

Select an option

Save timseriakov/9d719969e9e6556734401a1381f849b2 to your computer and use it in GitHub Desktop.
[funny TODOList initialState]
export const initialState: TodoListStateType = {
todoListData: [
{id: v1(), title: "Grab the gun", status: "active"},
{id: v1(), title: "Check the clip, are there any bullets", status: "active"},
{id: v1(), title: "Take a look into chamber", status: "active"},
{id: v1(), title: "Cock the shutter", status: "active"},
{id: v1(), title: "Remove the safety catch", status: "active"},
{id: v1(), title: "Take aim", status: "active"},
{id: v1(), title: "Decide if you're going to shoot", status: "active"}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment