Skip to content

Diff tab should only show the different nodes #61

@demedos

Description

@demedos

GIVEN the following store

{
  todos: [{ title: "laundry"}, { title: "other stuff"}],
  done: [{ title: "groceries" }],
}

GIVEN an action that updated the first todo's title has been dispatched producing the following store

{
  todos: [{ title: "walk the dog"}, { title: "other stuff"}],
                 // ^^^^^^^^^^^ That's the only change
  done: [{ title: "groceries" }],
}

the EXPECTED Diff tab content shows only the changes

{
-  todos: [{ title: "laundry" }]
+  todos: [{ title: "walk the dog" }]
}

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