Skip to content

idea for making the functions even purer #47

@rachaelcodes

Description

@rachaelcodes

Your todo functions are generally really good. One thing you might want to look at is whether you can avoid changing the newTodo object that is passed into the addTodos function, to help keep the functions pure (and easy to test). Can you find a way to clone it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions