Why slots with dynamic names written in camelCase format don't work
Version
3.2.11
Reproduction link
Steps to reproduce
if I write the dynamic name as dynamicSlotName:'header'
in my data property :
data() {
return {
dynamicSlotName: "header"
}
}
What is expected?
Render the header layout
What is actually happening?
it gives me the following error
Property "dynamicslotname" was accessed during render but is not defined on instance
if I write property like dynamicslotname
it works