-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
can't use component
as a context name
#1213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
Same is true for 'state': https://svelte.technology/repl?version=1.56.2&gist=0961ec1f092efd58571345fc5b5515f2 |
Rich-Harris
added a commit
that referenced
this issue
Mar 7, 2018
Rich-Harris
added a commit
that referenced
this issue
Mar 7, 2018
prevent context variables being called component or state
This was referenced Mar 14, 2018
7nik
pushed a commit
to 7nik/svelte
that referenced
this issue
Apr 9, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Eek, I really caused some damage with #1173: https://svelte.technology/repl?version=1.56.2&gist=a3cf9f2071401f3d6ee7a92e049b8d97
The line
var component = state.component
unsurprisingly breaks everything. This is the root cause of sveltejs/v2.svelte.dev#214.The text was updated successfully, but these errors were encountered: