Nested components

Each row below is its own independent Component, embedded declaratively via VElement.Mount — not a plain element the parent builds by hand. Bumping one widget only re-renders that widget; Add/Remove create and destroy real Component instances, each keeping its own count. Open the console to see Remove actually call the removed widget's OnUnmount.

  • Widget-1: 0
  • Widget-2: 0