Skip to main content

ComponentData

Type Alias ComponentData 

Source
pub type ComponentData = ComponentData;

Aliased Type§

pub struct ComponentData {
    pub template: String,
    pub css: String,
}

Fields§

§template: String

f-template HTML string for hydration. Populated by the FAST parser plugin at build time. Used by servers to send f-templates to the client during navigation.

§css: String

Component CSS content for the Module strategy. Contains the full CSS content when CssStrategy::Module is active. Empty for Link and Style strategies (CSS is handled via tags or inline