You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when doing import Anchor from './Anchor.svelte and use it, it'll break the app and showing component is undefined. After changing name to anything else it works.
You'll see error message component is undefined in console
uncomment HappyAnchor and comment Anchor, it works now!
Expected behavior
I've tried to read documentation and tutorial to see if there is some reserved word that I can not use as component name, but I couldn't find it. So I think we should allow Anchor as component name?
Information about your Svelte project:
In Chrome 81, it shows Cannot read property '$$' of undefined
In Firefox 75, it shows component is undefined
svelte version: 3.21.0
The text was updated successfully, but these errors were encountered:
Describe the bug
when doing
import Anchor from './Anchor.svelte
and use it, it'll break the app and showingcomponent is undefined
. After changing name to anything else it works.To Reproduce
repl
component is undefined
in consoleHappyAnchor
and commentAnchor
, it works now!Expected behavior
I've tried to read documentation and tutorial to see if there is some reserved word that I can not use as component name, but I couldn't find it. So I think we should allow
Anchor
as component name?Information about your Svelte project:
Cannot read property '$$' of undefined
component is undefined
The text was updated successfully, but these errors were encountered: