(Split from issue #3467, reported by @stefsullrew)
Would it be possible to dynamically set the value of exportparts=?
The below example show some pseudo-code to illustrate the question.
<x-foo>
<h1>Component headline</h1>
<template for:each={items} for:item="item" for:index="idx">
<x-item exportparts="item-header: foo-item-header-{idx}"></x-item>
</template>
</x-foo>