MCPcopy
hub / github.com/vitejs/vite / rerender

Function rerender

playground/hmr/file-delete-restore/runtime.js:8–11  ·  view source on GitHub ↗
(updates)

Source from the content-addressed store, hash-verified

6}
7
8export const rerender = (updates) => {
9 state = { ...state, ...updates }
10 apply()
11}
12
13const apply = () => {
14 document.querySelector('.file-delete-restore').textContent =

Callers 2

parent.jsFile · 0.90
child.jsFile · 0.90

Calls 1

applyFunction · 0.70

Tested by

no test coverage detected