Preserve module state across hot updates
Preserve module state across hot updates: a task in MiMo-V2.6-RL-oss: Agentic RL Environments (MiMo RL release). Our Hot Module Replacement support lets a project's JS files talk to the bundler through module.hot — they can register accept and dispose handlers, query the current status, and so on…
The task
Our Hot Module Replacement support lets a project's JS files talk to the bundler through module.hot — they can register accept and dispose handlers, query the current status, and so on. The one thing that's missing is a way to carry a little bit of state from an old version of…
Part of XiaomiMiMo/MiMo-V2.6-RL-oss.