Composition

Rendering

This section provides information on how to programmatically interact with process used to render components and compositions defined using Uniform Canvas.

When a Canvas component has slots, it is expected that the components in the slot will be rendered in the front-end application. Each Canvas component must be mapped to a component type that is compatible with the front-end technology used. You must provide the mapping for Uniform.

This example demonstrates how to define the mapping and assign it to the component that controls the rendering process.

During the composition rendering process, Uniform generates markup. By default, the markup is surrounded by a <code>div</code> tag. This tag can cause problems with certain forms of CSS.

This example demonstrates how to prevent this extra markup from being generated.