Skip to main content

vite-syntax-hmr-api

Use when implementing custom HMR handling, debugging HMR issues, writing HMR-aware modules, or understanding why full reloads happen. Prevents missing the import.meta.hot guard (causing production errors), reassigning hot.data instead of mutating it, and forgetting accept() boundaries. Covers ViteHotContext interface, import.meta.hot guard pattern, hot.accept() for self-accepting and dependency-accepting modules, hot.dispose(), hot.prune(), hot.invalidate(), hot.data for persistent state, hot.on()/hot.off()/hot.send() for custom events, built-in HMR events, and HMR boundary concept. Keywords: vite, HMR, hot module replacement, accept, dispose, invalidate, hot.data, full reload, changes not showing, page reloads instead of HMR, hot reload broken, preserve state on edit.

インストールへ移動

ソース情報

リポジトリ
Impertio-Studio/Vite-Claude-Skill-Package
ソースの最終更新活動
2026年3月30日 18:25
検出された SKILL.md の言語
英語
スター
3
フォーク
0

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。