Skip to content

Nodes must have their path refreshed #54

@drborges

Description

@drborges

A GIF is worth 10000 words...

2018-04-10 20 28 45

Basically, a node bound to path /array/:index must have its path refreshed when items removed/added to the array affect the path.

Example:

const todos = [
  { id: 1, ... }, // path = /todos/0
  { id: 2, ... }, // path = /todos/1
]

When removing todos[0], the path of the remaining todo, shoud no longer be /todos/1 but rather /todos/0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions