Skip to content

Task cell has private copy of completed  #1

@alexbbrown

Description

@alexbbrown

Thanks for sharing your project! I'm trying to understand how people solve this task list problem. I am unhappy with my own solutions so far.

I'm going to understand you sharing this project publicly as an invitation to discuss the implementation. Please let me know if you would prefer not.

In this example you have used @State to let the task toggle change the completed state, but as I recall this means your main data model won't get updated.

To illustrate this, try adding a "complete all tasks" button. I predict it won't work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions