vapor-chamber API reference - v1.3.0
    Preparing search index...

    Function vaporChamberHMR

    • vaporChamberHMR — Vite plugin for state-preserving hot reload.

      Injects a small runtime shim that:

      1. Stores the command bus on globalThis[HMR_GLOBAL_KEY] after creation.
      2. On HMR accept, restores the previously stored bus instance instead of creating a new one — preserving all registered handlers and plugins.

      Parameters

      Returns any