Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vitejs/vite
/ render
Function
render
playground/hmr-ssr/file-delete-restore/runtime.js:3–6 ·
view source on GitHub ↗
(newState)
Source
from the content-addressed store, hash-verified
1
let
state = {}
2
3
export
const
render = (newState) => {
4
state = newState
5
apply()
6
}
7
8
export
const
rerender = (updates) => {
9
state = { ...state, ...updates }
Callers
1
index.js
File · 0.90
Calls
1
apply
Function · 0.70
Tested by
no test coverage detected