mount Patches
inline fun <V> TagContext.mountPatches(into: RenderContext?, upstream: Flow<List<V>>, crossinline createPatches: (Flow<List<V>>, MutableMap<Node, Job>) -> Flow<List<Patch<RenderContext>>>)
Content copied to clipboard
Mounts a Flow of Patches to the DOM either
creating a new context-Div as a child of the receiver
Parameters
into
if set defines the target to mount the content to (replacing its static content)
upstream
the Flow that should be mounted
createPatches
lambda defining, how to compare two versions of a List