LearnNewsExamplesServices
Frontmatter
id5522
titlevdom.Helper: createVnodeMap() => add the parent id path for each map item
stateClosed
labels
enhancement
assigneestobiu
createdAtJul 3, 2024, 10:46 PM
updatedAtJul 3, 2024, 10:47 PM
githubUrlhttps://github.com/neomjs/neo/issues/5522
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJul 3, 2024, 10:47 PM

vdom.Helper: createVnodeMap() => add the parent id path for each map item

Closed v8.1.0 enhancement
tobiu
tobiu commented on Jul 3, 2024, 10:46 PM

Then we can easily check if a specific node is the child of another node:

node.parentPath.includes(potentialParentNodeId)
tobiu added the enhancement label on Jul 3, 2024, 10:46 PM
tobiu assigned to @tobiu on Jul 3, 2024, 10:46 PM
tobiu referenced in commit 34f01e9 - "vdom.Helper: createVnodeMap() => add the parent id path for each map item #5522" on Jul 3, 2024, 10:47 PM
tobiu closed this issue on Jul 3, 2024, 10:47 PM