TypeError: Cannot read properties of undefined (reading 'startsWith')
mrwokkel opened this issue · comments
Within Sveltekit when abstracting a component I get TypeError: Cannot read properties of undefined (reading 'startsWith')
Not sure about internals but the data-why-id seems to be missing?
I created a minimal repo:
https://github.com/mrwokkel/framed
Ah looks like I made a mistake checking for the component name here:
whyframe/packages/core/src/plugins/api.js
Line 46 in e5dc9fa
Making a fix. Thanks for the report!
Fixed in @whyframe/core
0.1.6!