LearnNewsExamplesServices
Frontmatter
id8828
titleDocs: Create Guide for Asymmetric VDOM Updates
stateClosed
labels
documentationcore
assigneestobiu
createdAtJan 20, 2026, 12:35 PM
updatedAtJan 20, 2026, 6:35 PM
githubUrlhttps://github.com/neomjs/neo/issues/8828
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJan 20, 2026, 6:35 PM

Docs: Create Guide for Asymmetric VDOM Updates

Closed v11.23.0 documentationcore
tobiu
tobiu commented on Jan 20, 2026, 12:35 PM

We need to create a comprehensive guide on Asymmetric VDOM Updates to document the powerful optimization capabilities of the v11 VDOM engine. While the concept was introduced in v10 blogs, the specific implementation details and usage patterns (especially for AI agents) have evolved with recent architectural refinements.

Key Concepts to Cover:

  1. Scoped Updates: Explain how updateDepth: 1 ensures updates are disjoint and parallel-safe by default.
  2. Merging & Aggregation: Detail how canMergeUpdate (<=) allows disjoint updates (e.g., Parent + multiple Children) to be bundled into a single worker message for efficiency.
  3. The Transaction Pattern: Document the setSilent + parent.update() pattern for manually batching updates across a component subtree (e.g., a Toolbar updating multiple Buttons).
  4. Best Practices: Guidelines for when to use independent updates vs. merged updates.

Deliverables:

  1. Create learn/guides/fundamentals/AsymmetricUpdates.md.
  2. Integrate the new guide into learn/tree.json under "Fundamentals & Core Concepts".
  3. Review and potentially cross-reference learn/blog/v10-deep-dive-vdom-revolution.md to ensure consistency.

Context: This guide is essential for developers and AI agents to understand how to leverage the full performance potential of the Neo.mjs engine.

tobiu added the documentation label on Jan 20, 2026, 12:35 PM
tobiu added the core label on Jan 20, 2026, 12:35 PM
tobiu assigned to @tobiu on Jan 20, 2026, 12:35 PM
tobiu referenced in commit 84e0840 - "docs: Create comprehensive guide for Asymmetric VDOM Updates (#8828)" on Jan 20, 2026, 6:35 PM
tobiu
tobiu Jan 20, 2026, 6:35 PM

Input from Gemini 3 Pro:

✦ I have created the "Asymmetric VDOM Updates" guide (learn/guides/fundamentals/AsymmetricUpdates.md) and registered it in learn/tree.json.

Content Highlights:

  • Technical Deep Dive: Explains the distinction between Scoped Updates (Depth 1) and Merged Updates (<= logic).
  • Architecture Visualization: Includes 3 Mermaid diagrams illustrating Scoped Updates, Transactional Merging, and Leapfrog Merging.
  • Promise Lifecycle: details how promiseUpdate() callbacks are handled during merged update cycles.
  • Best Practices: Guidance on when to use setSilent vs independent updates.

The guide is now available in the "Fundamentals & Core Concepts" section.

tobiu closed this issue on Jan 20, 2026, 6:35 PM