Vue.js · Components · Fresh / Intern · Best Practice
How do slots enable composition?
Short Interview Answer
Parents pass template content into child slot outlets; named/scoped slots pass data outward.
Detailed Explanation
Prefer slots over brittle prop render flags for flexible APIs.
Example
<slot name="actions" :item="item" />