Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/levo/src/apply-patches.ts>applyPatches

Server side rendering with The Elm Architecture in Deno
Latest
variable applyPatches
import { applyPatches } from "https://deno.land/x/levo@v0.0.27/src/apply-patches.ts";

This function will mutate DOM and mountedVirtualNode

type

<Action>(unnamed 0: { patches: Patch<Action>[]; mountedVirtualNode: MountedVirtualNode<Action>; }) => MountedVirtualNode<Action>