Skip to main content

Module component

Module component 

Source

Traitsยง

AnyComponent
Object-safe erasure of (component type, props).
Component
A UI component: a pure function from Props and hook state to an Element tree. Usually implemented via the #[component] attribute macro rather than by hand.