4 ms·
When a component only ever has one template that defines its markup, and the template is only ever used by a single component, and the template needs to change
by barrkel 10y ago
When a component only ever has one template that defines its markup, and the template is only ever used by a single component, and the template needs to change when the component changes, and the component needs to change when the template changes: if these are all true (and they often are for UI components), then there's little to no upside to separating them physically or linguistically.