Browse documentation

updateVnode

Updates the DOM rendered for a vnode and returns server output when produced.

Table of contents

Category

Value

Import

js
import { updateVnode } from "valyrian.js";

Public signature

ts
(vnode: VnodeWithDom, shouldCleanup?: boolean): string | void

Parameters

ts
vnode: VnodeWithDom, shouldCleanup?: boolean

Result

ts
string | void