Frontmatter
| id | 5548 |
| title | vdom.Helper: createDeltas() => removeAll OP |
| state | Closed |
| labels | enhancement |
| assignees | tobiu |
| createdAt | Jul 9, 2024, 7:26 PM |
| updatedAt | Jul 9, 2024, 11:09 PM |
| githubUrl | https://github.com/neomjs/neo/issues/5548 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jul 9, 2024, 11:09 PM |
vdom.Helper: createDeltas() => removeAll OP

tobiu
Jul 9, 2024, 10:42 PM
thinking more about this one: we do not even need the check if a node did get moved, since we longer have a direct call to remove it => other OPs can still pull it out as needed.
will give it a try.
tobiu assigned to @tobiu on Jul 9, 2024, 10:42 PM
tobiu closed this issue on Jul 9, 2024, 11:09 PM
The following conditions need to be true:
If all 3 conditions match, we can replace all single
removeNodedeltas with a singleremoveAlldelta.To do this, we need to store all remove deltas of the current method call (non-recursively) and replace them as needed.