dynamic_component
DynamicComponent
from dara.core.visual.components.dynamic_component import DynamicComponent
class DynamicComponent(ComponentInstance)
DynamicComponent allows dynamically rendering an arbitrary Dara component. It is used under the hood
to recursively render Dara components on each page. It can be used directly in advanced use cases where a component can be serialized and passed around as a dictionary.
Arguments:
component: A Dara component instance or a dictionary representing a Dara component.
Attributes
- component: Union[ComponentInstance, dict]