TypeScript Console hello-vmx Example

minimal Node script for ComponentVMOf lifecycle and rxjs-backed message observation

TypeScript Console hello-vmx Example minimal Node script for ComponentVMOf lifecycle and rxjs-backed message observation TypeScript Console hello-vmx Example minimal Node script for ComponentVMOf lifecycle and rxjs-backed message observation Host and adapter boundary VMx-owned application state Verification and modeling rule Node script tsx entrypoint npm start stdout narrative rxjs subscriptions hub.messages subscribe status/property logs no DOM host User gestures events become VM calls no domain state in host render from VM snapshots Run surface local example command smoke-friendly path documented README entry ComponentVMOf<UserModel> fluent builder name + hint construct/destruct/dispose UserModel projection typed object model Alice -> Bob mutation equality guard MessageHub ConstructionStatusChanged PropertyChanged rxjs stream UserModel name age structural payload Manual smoke npm ci npm start local VMx build first Best-fit use Use this as the shortest TypeScript path before adding React adapters or child containers. Reading rule Follow arrows top to bottom: host input becomes VMx commands; VMx state publishes renderable projections back to the host. binds routes runs owns projects executes loads children commands data tests boundary

Smallest TS path

  • One modeled VM demonstrates lifecycle and hub semantics.
  • The script stays framework-free.

Signal path

  • Model updates publish property messages.
  • Equal assignments produce no message.

Next step

  • Move to the React showcase when host hooks and adapters matter.