pub struct RenderFanInTopComponent {
pub component: String,
pub path: PathBuf,
pub render_sites: u32,
pub distinct_parents: u32,
}Expand description
One located high-fan-in React/Preact component for the descriptive
top_render_fan_in blast-radius list on VitalSigns.
The component-graph analogue of a high-fan-in module: distinct_parents is
the HEADLINE axis (the honest count of distinct parent components / render
LOCATIONS that render this component), render_sites is secondary “incl.
repeats” context (every JSX render SITE, so a single parent rendering one
child five times is five sites but one parent). Undercount-safe like the
underlying metric: a child rendered via a JSX spread / dynamic /
member-expression tag resolves to no component, so a true high-fan-in
component can only be undersold.
Fields§
§component: StringThe component name.
path: PathBufProject-relative path of the file declaring the component. Serialized with forward slashes (same serializer the other relativized health paths use).
render_sites: u32Total JSX render SITES that resolve to this component across the project.
SECONDARY “incl. repeats” context, not the headline (see distinct_parents).
distinct_parents: u32Distinct (parent_file, parent_component) keys that render this component.
The HEADLINE blast-radius axis: distinct render LOCATIONS.