core/util.js
All the utility functions for WebLabs
DebugRender()
export function DebugRender(id: string, app: () => WebLabsElement): void
The DebugRender()
is identical to the render()
function, except how it takes the component, is a function that returns WebLabsElement
instead of WebLabsElement
. This function should only be used during development and to be replaced by render()
on production builds.
Last updated
Was this helpful?