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
ESLint complains that closedLabel and openLabel are not reassigned, so make them consts. If I do that, then toggle complains about being reassigned, and make it a let. And if I split them up:
The text was updated successfully, but these errors were encountered:
KieranP
changed the title
Conflict with $bindable and let/const ESLint checks
Svelte 5: Conflict with $bindable and let/const ESLint checks
Oct 24, 2024
Describe the bug
I have the following code:
ESLint complains that closedLabel and openLabel are not reassigned, so make them consts. If I do that, then toggle complains about being reassigned, and make it a let. And if I split them up:
then Svelte complains about not using $props more than once...
What is the best approach here?
Reproduction
See above
Logs
No response
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: