Skip to content

hotView ​

Function of @v12-engine/client/common

ts
export declare function hotView(hot: HotContext | undefined, game: string, current: GameView, next: unknown): void;

A game's view module's new version, taken while it runs, as hotRules takes its rules: at its end,

if (import.meta.hot) import.meta.hot.accept((module) = hotView(import.meta.hot, 'melee', meleeView, module?.meleeView))

What its types look like, are pictured as and say is taken by the games and editors of the page; the rest of a view (its HUD, its parts) a new game takes