The nodes to replace.
The replacement nodes.
Optional
lazy: boolean// Safely shuffle all the children of the first main element:
import { update } from 'deleight/queryoperator';
import { uItems } from 'deleight/generational';
const main = document.querySelector('main');
update(main.children, uItems(main.children))
Correctly replace the specified nodes with corresponding values.
This will materialize
elements
andvalues
unlesslazy
is supplied as a truthy value.