Skip to content

Symbols for constants #779

Closed
Closed
@brandondewitt

Description

@brandondewitt

I like the idea of using Symbols for action types...opinions?

export const ADD_TODO = Symbol();
export const DELETE_TODO = Symbol();
export const EDIT_TODO = Symbol();
export const COMPLETE_TODO = Symbol();
export const COMPLETE_ALL = Symbol();
export const CLEAR_COMPLETED = Symbol();

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions