Another `template2 is not a function` issue
Took a look at the other posts mentioning this issue and can't seem to find anything that helps solve the case.
I have a Tab Switch component to display different JSX.Elements with. I'm about 98% sure the error is coming out of this component because when I return a simple
<h1>Hej</h1>
there is no template2
error.
I was originally using @kobalte/core's Tabs
component, then decided to try and make my own rough tab switch component. Both have produced this error and I'm not really sure how best to proceed or troubleshoot. So any guidance would be helpful.
Here is my component:
And the error is attached in the image.
4 Replies
I suspect
should be
to work.
Oh interesting, I'll give that a try.
For some background: https://discord.com/channels/722131463138705510/1238643925988937820
Can confirm this fixes things. Thank you very much for the help and also for the context around it!