Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vitejs/vite
/ rerender
Function
rerender
playground/hmr-ssr/file-delete-restore/runtime.js:8–11 ·
view source on GitHub ↗
(updates)
Source
from the content-addressed store, hash-verified
6
}
7
8
export
const
rerender = (updates) => {
9
state = { ...state, ...updates }
10
apply()
11
}
12
13
const
apply = () => {
14
globalThis.__HMR__[
'.file-delete-restore'
] = Object.values(state).join(
':'
)
Callers
2
parent.js
File · 0.90
child.js
File · 0.90
Calls
1
apply
Function · 0.70
Tested by
no test coverage detected